operator && and || optimization: add "else" before "if" as intended
This commit is contained in:
parent
fedb6191a1
commit
f47b2b52a5
|
|
@ -2118,7 +2118,7 @@ merge(Compressor.prototype, {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (self.operator == "||") {
|
||||
else if (self.operator == "||") {
|
||||
var ll = self.left.evaluate(compressor);
|
||||
var rr = self.right.evaluate(compressor);
|
||||
if (ll.length > 1) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user