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).
This commit is contained in:
parent
497fc9849e
commit
25828768d7
|
@ -12,8 +12,8 @@ var ok = {
|
||||||
"Use '===' to compare with 'null'.": true,
|
"Use '===' to compare with 'null'.": true,
|
||||||
"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 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;
|
var e = JSLINT.errors, found = 0, w;
|
||||||
|
|
Loading…
Reference in a new issue