fix code style
This commit is contained in:
parent
f4e1a23de7
commit
9fe8edc3f6
|
|
@ -3127,7 +3127,9 @@ merge(Compressor.prototype, {
|
||||||
tighten_body(self.body, compressor);
|
tighten_body(self.body, compressor);
|
||||||
switch (self.body.length) {
|
switch (self.body.length) {
|
||||||
case 1:
|
case 1:
|
||||||
if (!compressor.has_directive("use strict") && compressor.parent() instanceof AST_If && can_be_extracted_from_if_block(self.body[0])
|
if (!compressor.has_directive("use strict")
|
||||||
|
&& compressor.parent() instanceof AST_If
|
||||||
|
&& can_be_extracted_from_if_block(self.body[0])
|
||||||
|| can_be_evicted_from_block(self.body[0])) {
|
|| can_be_evicted_from_block(self.body[0])) {
|
||||||
return self.body[0];
|
return self.body[0];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user