public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
642ba2e
)
fix for https://github.com/mishoo/UglifyJS/issues/474
author
Mihai Bazon
<mihai@bazon.net>
Fri, 23 Nov 2012 08:20:00 +0000
(10:20 +0200)
committer
Mihai Bazon
<mihai@bazon.net>
Fri, 23 Nov 2012 08:20:00 +0000
(10:20 +0200)
lib/compress.js
patch
|
blob
|
history
diff --git
a/lib/compress.js
b/lib/compress.js
index
7c4c910
..
d78d41d
100644
(file)
--- a/
lib/compress.js
+++ b/
lib/compress.js
@@
-1744,7
+1744,7
@@
merge(Compressor.prototype, {
}
if (self.operator == "+" && self.right instanceof AST_String
&& self.right.getValue() === "" && self.left instanceof AST_Binary
- && self.left.operator == "+" && self.left.is_string()) {
+ && self.left.operator == "+" && self.left.is_string(
compressor
)) {
return self.left;
}
return self;