From: Mihai Bazon Date: Wed, 30 Oct 2013 08:44:50 +0000 (+0200) Subject: indentation X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=9dd97605bc724c78b7f73177ae8ceaee92cc01d2;p=UglifyJS.git indentation --- 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: "+",