fix bug (forgot arg name)
This commit is contained in:
@@ -423,7 +423,7 @@ function Compressor(options, false_by_default) {
|
||||
self.second = self.second.negate(compressor);
|
||||
return self;
|
||||
});
|
||||
def(AST_Conditional, function(){
|
||||
def(AST_Conditional, function(compressor){
|
||||
var self = this.clone();
|
||||
self.consequent = self.consequent.negate(compressor);
|
||||
self.alternative = self.alternative.negate(compressor);
|
||||
@@ -703,7 +703,7 @@ function Compressor(options, false_by_default) {
|
||||
&& self.alternative instanceof AST_EmptyStatement) {
|
||||
return make_node(AST_SimpleStatement, self.condition, {
|
||||
body: self.condition
|
||||
});
|
||||
}).optimize(compressor);
|
||||
}
|
||||
if (self.body instanceof AST_SimpleStatement
|
||||
&& self.alternative instanceof AST_SimpleStatement) {
|
||||
|
||||
Reference in New Issue
Block a user