Compare commits

..

2 Commits

Author SHA1 Message Date
Mihai Bazon
258b46f4dc v2.1.8 2012-11-07 13:03:11 +02:00
Mihai Bazon
80da21dab4 fix regression from 5346fb94 (shouldn't parenthesize i++ in x[i++]) 2012-11-07 13:02:51 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -412,7 +412,7 @@ function OutputStream(options) {
PARENS(AST_Unary, function(output){
var p = output.parent();
return p instanceof AST_PropAccess;
return p instanceof AST_PropAccess && p.expression === this;
});
PARENS(AST_Seq, function(output){

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.1.7",
"version": "2.1.8",
"engines": { "node" : ">=0.4.0" },
"maintainers": [{
"name": "Mihai Bazon",