Missing semicolon is a warning

This commit is contained in:
Mostafa Eweda 2012-10-03 11:29:59 +02:00
commit 9b993ee9c2

View file

@ -143,8 +143,7 @@ oop.inherits(JavaScriptWorker, Mirror);
if (maxErrorLevel == "error" && str && /[\w\d{(['"]/.test(str)) { if (maxErrorLevel == "error" && str && /[\w\d{(['"]/.test(str)) {
error.reason = 'Missing ";" before statement'; error.reason = 'Missing ";" before statement';
type = "error"; type = "error";
} else }
type = "info";
} }
else if (disabledWarningsRe.test(raw)) { else if (disabledWarningsRe.test(raw)) {
continue; continue;