aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
diff options
context:
space:
mode:
authorMihai Bazon <mihai@bazon.net>2013-10-30 10:44:50 +0200
committerMihai Bazon <mihai@bazon.net>2013-10-30 10:44:50 +0200
commit9dd97605bc724c78b7f73177ae8ceaee92cc01d2 (patch)
tree958a6a5ca90d4a3cd87c0229a07b2981aba8d6f4 /lib/compress.js
parente4c530240650535d1cb46569dfb013193471af05 (diff)
downloadtracifyjs-9dd97605bc724c78b7f73177ae8ceaee92cc01d2.tar.gz
tracifyjs-9dd97605bc724c78b7f73177ae8ceaee92cc01d2.zip
indentation
Diffstat (limited to 'lib/compress.js')
-rw-r--r--lib/compress.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compress.js b/lib/compress.js
index 108a4e9e..813561c4 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -1909,7 +1909,7 @@ merge(Compressor.prototype, {
// result. hence, force switch.
if (!(self.left instanceof AST_Binary
- && PRECEDENCE[self.left.operator] >= PRECEDENCE[self.operator])) {
+ && PRECEDENCE[self.left.operator] >= PRECEDENCE[self.operator])) {
reverse(null, true);
}
}
@@ -2023,8 +2023,8 @@ merge(Compressor.prototype, {
&& self.left.operator == "+" && self.left.is_string(compressor)) {
return self.left;
} else if (self.operator == "+" && self.right instanceof AST_String
- && self.right.getValue() === "" && self.left instanceof AST_Binary
- && self.left.operator == "+" && self.left.right instanceof AST_Number) {
+ && self.right.getValue() === "" && self.left instanceof AST_Binary
+ && self.left.operator == "+" && self.left.right instanceof AST_Number) {
return make_node(AST_Binary, self, {
left: self.left.left,
operator: "+",