From: XhmikosR Date: Sun, 1 Mar 2015 20:35:43 +0000 (+0200) Subject: Disable es3 for tests and customizer.js. X-Git-Tag: v3.3.4~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8e34ff48bf5107268d86bf050e1a1ed8299b399;p=thirdparty%2Fbootstrap.git Disable es3 for tests and customizer.js. --- diff --git a/docs/assets/js/src/customizer.js b/docs/assets/js/src/customizer.js index 59d0936965..12a35a9b91 100644 --- a/docs/assets/js/src/customizer.js +++ b/docs/assets/js/src/customizer.js @@ -6,6 +6,7 @@ * details, see http://creativecommons.org/licenses/by/3.0/. */ +/* jshint es3:false */ /* global JSZip, less, autoprefixer, saveAs, UglifyJS, __configBridge, __js, __less, __fonts */ window.onload = function () { // wait for load in a dumb way because B-0 diff --git a/js/tests/unit/.jshintrc b/js/tests/unit/.jshintrc index 682a49af1e..22e878512b 100644 --- a/js/tests/unit/.jshintrc +++ b/js/tests/unit/.jshintrc @@ -1,5 +1,6 @@ { "extends" : "../../.jshintrc", "devel" : true, + "es3" : false, "qunit" : true }