diff options
author | Mihai Bazon <mihai@bazon.net> | 2012-11-23 10:20:00 +0200 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2012-11-23 10:20:00 +0200 |
commit | 4f555e2232459eaa4551ddf4e3f7535a416f1ddd (patch) | |
tree | 4d0f111073e96a7a9607d244f32b27f5508b4d50 /lib/compress.js | |
parent | 642ba2e92c12bd36810ab42106f922de04bb48f4 (diff) | |
download | tracifyjs-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.js | 2 |
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; |