Compare commits

...

3 Commits
v2.1 ... v2.1.1

Author SHA1 Message Date
Mihai Bazon
6aa56f92fe v2.1.1 2012-10-18 10:54:30 +03:00
Mihai Bazon
4fe4257c69 fix --comments (close #16) 2012-10-18 10:54:10 +03:00
Mihai Bazon
a5e75c5a21 v2.1.0 2012-10-17 22:00:11 +03:00
2 changed files with 2 additions and 2 deletions

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);
}
}
}

View File

@@ -3,7 +3,7 @@
"description": "JavaScript parser, mangler/compressor and beautifier toolkit",
"homepage": "http://lisperator.net/uglifyjs",
"main": "tools/node.js",
"version": "2.0.0",
"version": "2.1.1",
"engines": { "node" : ">=0.4.0" },
"maintainers": [{
"name": "Mihai Bazon",