make --comments keep @cc_on too

This commit is contained in:
Mihai Bazon
2012-10-09 18:25:00 +03:00
parent 1b0aab2ce9
commit 88beddfa91
2 changed files with 1 additions and 12 deletions

View File

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