public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8258edd
)
Better fix for #475
author
Mihai Bazon
<mihai@bazon.net>
Sun, 27 Apr 2014 17:54:54 +0000
(20:54 +0300)
committer
Mihai Bazon
<mihai@bazon.net>
Sun, 27 Apr 2014 17:54:54 +0000
(20:54 +0300)
lib/output.js
patch
|
blob
|
history
diff --git
a/lib/output.js
b/lib/output.js
index
4a3bfd5
..
26f230a
100644
(file)
--- a/
lib/output.js
+++ b/
lib/output.js
@@
-456,7
+456,7
@@
function OutputStream(options) {
PARENS(AST_Unary, function(output){
var p = output.parent();
return (p instanceof AST_PropAccess && p.expression === this)
- || (p instanceof AST_Unary && p.operator ==
"+" && this.operator == "+"
);
+ || (p instanceof AST_Unary && p.operator ==
this.operator
);
});
PARENS(AST_Seq, function(output){