diff options
author | Mihai Bazon <mihai@bazon.net> | 2012-10-18 10:54:10 +0300 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2012-10-18 10:54:10 +0300 |
commit | 4fe4257c69734448fb242dfaab3804f883165df3 (patch) | |
tree | 74a840fed3cd034cc8eadabfcfdddf248c15fdff /bin/uglifyjs2 | |
parent | a5e75c5a2125662b1ed1a93e8b2204bf33bf44f8 (diff) | |
download | tracifyjs-4fe4257c69734448fb242dfaab3804f883165df3.tar.gz tracifyjs-4fe4257c69734448fb242dfaab3804f883165df3.zip |
fix `--comments` (close #16)
Diffstat (limited to 'bin/uglifyjs2')
-rwxr-xr-x | bin/uglifyjs2 | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } } |