diff options
Diffstat (limited to 'bin/uglifyjs2')
-rwxr-xr-x | bin/uglifyjs2 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/uglifyjs2 b/bin/uglifyjs2 index 8515586a..e69ed5cf 100755 --- a/bin/uglifyjs2 +++ b/bin/uglifyjs2 @@ -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); } } } |