]> source.dussan.org Git - jquery.git/commitdiff
Handle the case where JSLint complains about arguments in try/catch already being...
authorJohn Resig <jeresig@gmail.com>
Sun, 17 Oct 2010 14:50:17 +0000 (10:50 -0400)
committerJohn Resig <jeresig@gmail.com>
Sun, 17 Oct 2010 14:50:17 +0000 (10:50 -0400)
build/jslint-check.js

index e76abc0a7bd900496b03e8e1b71c5a91b01e2274..976975a2693e6261189a6535c0e0869529053ad3 100644 (file)
@@ -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;