aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2015-07-20 00:55:48 +0200
committerMichał Gołębiowski <m.goleb@gmail.com>2015-07-20 18:37:26 +0200
commit1c59b308d201d6dd0f0aed2ad0256d01b9f68047 (patch)
tree393768c387d1567b45c594b452c5c3ae49f75c29 /src
parentbf591fb597a056bf2fc9bc474010374695b18d1a (diff)
downloadjquery-1c59b308d201d6dd0f0aed2ad0256d01b9f68047.tar.gz
jquery-1c59b308d201d6dd0f0aed2ad0256d01b9f68047.zip
Build: Acknowledge Android 2.3 is not ES5-compatible
Android 2.3 chokes on unquoted reserved words being used as property names which was making Deferred tests not run. Acknowledge the sad fact that Android 2.3 is not ES5-compliant browser and enable the "es3" option in JSHint config. Fixes gh-2478 Closes gh-2481
Diffstat (limited to 'src')
-rw-r--r--src/.jshintrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/.jshintrc b/src/.jshintrc
index 6144bf420..281b683b9 100644
--- a/src/.jshintrc
+++ b/src/.jshintrc
@@ -12,8 +12,11 @@
"sub": true,
+ "es3": true,
+
"globals": {
"window": true,
+ "JSON": false,
"jQuery": true,
"define": true,