aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2015-08-02 01:48:54 +0200
committerMichał Gołębiowski <m.goleb@gmail.com>2015-08-03 18:51:18 +0200
commit669cb16d763cb5486dadd56ec15a17b2b0303571 (patch)
tree27b3870b3223bc2fadae83bcce406c96a2fb4cad /src
parentaabe94edb4880c75eeebc5b5b5d66a9ad17008fe (diff)
downloadjquery-669cb16d763cb5486dadd56ec15a17b2b0303571.tar.gz
jquery-669cb16d763cb5486dadd56ec15a17b2b0303571.zip
Build: Add a comment explaining why the es3 option is needed
It might not be obvious to everyone that IE 9 & Android 4.0 are not ES5-compliant browsers (by a large margin) so it's better to add a support comment. This requires slight changes in parsing the config file as it's not a pure JSON anymore. JSHint understands such files without problems. Closes gh-2520
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 281b683b9..ea3549d5c 100644
--- a/src/.jshintrc
+++ b/src/.jshintrc
@@ -12,6 +12,9 @@
"sub": true,
+ // Support: IE < 10, Android < 4.1
+ // The above browsers are failing a lot of tests in the ES5
+ // test suite at http://test262.ecmascript.org.
"es3": true,
"globals": {