aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}