From f8e34ff48bf5107268d86bf050e1a1ed8299b399 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 1 Mar 2015 22:35:43 +0200 Subject: [PATCH] Disable es3 for tests and customizer.js. --- docs/assets/js/src/customizer.js | 1 + js/tests/unit/.jshintrc | 1 + 2 files changed, 2 insertions(+) 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 } -- 2.47.2