fix --comments (close #16)

This commit is contained in:
Mihai Bazon
2012-10-18 10:54:10 +03:00
parent a5e75c5a21
commit 4fe4257c69

View File

@@ -127,7 +127,7 @@ if (ARGS.comments) {
var type = comment.type;
if (type == "comment2") {
// multiline comment
return /@preserve|@license|@cc_on/i.test(test);
return /@preserve|@license|@cc_on/i.test(text);
}
}
}