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 e76abc0..976975a 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;