Remove AST_ObjectComputedKeyVal
This commit is contained in:
committed by
Richard van Velzen
parent
b7bb706150
commit
7e80a979a7
@@ -1280,7 +1280,7 @@ merge(Compressor.prototype, {
|
||||
return false;
|
||||
});
|
||||
def(AST_ObjectProperty, function(compressor){
|
||||
if (this instanceof AST_ObjectComputedKeyVal &&
|
||||
if (this.key instanceof AST_ObjectKeyVal &&
|
||||
this.key.has_side_effects(compressor))
|
||||
return true;
|
||||
return this.value.has_side_effects(compressor);
|
||||
|
||||
Reference in New Issue
Block a user