From 25828768d7bc2d76438244e69d6eeb69c36227e6 Mon Sep 17 00:00:00 2001 From: John Resig Date: Sun, 17 Oct 2010 10:50:17 -0400 Subject: [PATCH] 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). --- build/jslint-check.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/jslint-check.js b/build/jslint-check.js index e76abc0a..976975a2 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;