aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2010-10-17 10:50:17 -0400
committerJohn Resig <jeresig@gmail.com>2010-10-17 10:50:17 -0400
commit25828768d7bc2d76438244e69d6eeb69c36227e6 (patch)
tree7556518255033989ab49b10c6f0ba383afe12fa7 /build
parent497fc9849e91ba8602adf7908b4febf2d36bc1c8 (diff)
downloadjquery-25828768d7bc2d76438244e69d6eeb69c36227e6.tar.gz
jquery-25828768d7bc2d76438244e69d6eeb69c36227e6.zip
Handle the case where JSLint complains about arguments in try/catch already being defined (we use the name 'e' consistently for catch(e) - will work to standardize on that now).
Diffstat (limited to 'build')
-rw-r--r--build/jslint-check.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/jslint-check.js b/build/jslint-check.js
index e76abc0a7..976975a26 100644
--- a/build/jslint-check.js
+++ b/build/jslint-check.js
@@ -12,8 +12,8 @@ var ok = {
"Use '===' to compare with 'null'.": true,
"Use '!==' to compare with 'null'.": true,
"Expected an assignment or function call and instead saw an expression.": true,
- "Expected a 'break' statement before 'case'.": true
-
+ "Expected a 'break' statement before 'case'.": true,
+ "'e' is already defined.": true
};
var e = JSLINT.errors, found = 0, w;