diff --git a/bin/uglifyjs2 b/bin/uglifyjs2 index acca760d..aadda7cf 100755 --- a/bin/uglifyjs2 +++ b/bin/uglifyjs2 @@ -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); } } }