play nice with propmangle

This commit is contained in:
Fábio Santos
2015-08-08 16:01:16 +01:00
parent dc5db9b6ca
commit 7ee8f3512e
3 changed files with 15 additions and 2 deletions

View File

@@ -219,6 +219,10 @@ TreeTransformer.prototype = new TreeWalker;
self.properties = do_list(self.properties, tw);
});
_(AST_ObjectSymbol, function(self, tw){
self.symbol = self.symbol.transform(tw);
});
_(AST_ObjectProperty, function(self, tw){
self.value = self.value.transform(tw);
});