aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
diff options
context:
space:
mode:
authorMihai Bazon <mihai@bazon.net>2012-11-23 10:20:00 +0200
committerMihai Bazon <mihai@bazon.net>2012-11-23 10:20:00 +0200
commit4f555e2232459eaa4551ddf4e3f7535a416f1ddd (patch)
tree4d0f111073e96a7a9607d244f32b27f5508b4d50 /lib/compress.js
parent642ba2e92c12bd36810ab42106f922de04bb48f4 (diff)
downloadtracifyjs-4f555e2232459eaa4551ddf4e3f7535a416f1ddd.tar.gz
tracifyjs-4f555e2232459eaa4551ddf4e3f7535a416f1ddd.zip
fix for https://github.com/mishoo/UglifyJS/issues/474
Diffstat (limited to 'lib/compress.js')
-rw-r--r--lib/compress.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js
index 7c4c910d..d78d41d6 100644
--- 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;