aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2015-03-01 22:35:43 +0200
committerXhmikosR <[email protected]>2015-03-02 11:16:06 +0200
commitf8e34ff48bf5107268d86bf050e1a1ed8299b399 (patch)
treeba937d63b5fd1879471ec6905d48c3f69c49f41e
parentea3c7028bd7ce451a9878ba5dd575b90e949de42 (diff)
downloadbootstrap-f8e34ff48bf5107268d86bf050e1a1ed8299b399.tar.xz
bootstrap-f8e34ff48bf5107268d86bf050e1a1ed8299b399.zip
Disable es3 for tests and customizer.js.
-rw-r--r--docs/assets/js/src/customizer.js1
-rw-r--r--js/tests/unit/.jshintrc1
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/assets/js/src/customizer.js b/docs/assets/js/src/customizer.js
index 59d093696..12a35a9b9 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 682a49af1..22e878512 100644
--- a/js/tests/unit/.jshintrc
+++ b/js/tests/unit/.jshintrc
@@ -1,5 +1,6 @@
{
"extends" : "../../.jshintrc",
"devel" : true,
+ "es3" : false,
"qunit" : true
}