diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2015-07-20 00:55:48 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2015-07-20 18:37:26 +0200 |
commit | 1c59b308d201d6dd0f0aed2ad0256d01b9f68047 (patch) | |
tree | 393768c387d1567b45c594b452c5c3ae49f75c29 /src | |
parent | bf591fb597a056bf2fc9bc474010374695b18d1a (diff) | |
download | jquery-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/.jshintrc | 3 |
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, |