From: John Resig Date: Sun, 17 Oct 2010 14:50:17 +0000 (-0400) Subject: Handle the case where JSLint complains about arguments in try/catch already being... X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=25828768d7bc2d76438244e69d6eeb69c36227e6 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). --- diff --git a/build/jslint-check.js b/build/jslint-check.js index e76abc0..976975a 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;