From: XhmikosR Date: Thu, 3 Mar 2016 08:18:19 +0000 (+0200) Subject: Fix JSHint errors. X-Git-Tag: v3.3.7~97^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b412a743553a40af1d13d9896de170f53752b77;p=thirdparty%2Fbootstrap.git Fix JSHint errors. [skip sauce] --- diff --git a/docs/assets/js/src/customizer.js b/docs/assets/js/src/customizer.js index 78ab73c749..9924667c3a 100644 --- a/docs/assets/js/src/customizer.js +++ b/docs/assets/js/src/customizer.js @@ -6,8 +6,7 @@ * details, see https://creativecommons.org/licenses/by/3.0/. */ -/* jshint es3:false */ -/* global JSZip, less, autoprefixer, saveAs, UglifyJS, __configBridge, __js, __less, __fonts */ +/* global JSON, JSZip, less, autoprefixer, saveAs, UglifyJS, __configBridge, __js, __less, __fonts */ window.onload = function () { // wait for load in a dumb way because B-0 'use strict'; diff --git a/js/collapse.js b/js/collapse.js index c2e63a0138..897b2e1021 100644 --- a/js/collapse.js +++ b/js/collapse.js @@ -6,6 +6,7 @@ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ +/* jshint latedef: false */ +function ($) { 'use strict';