aboutsummaryrefslogtreecommitdiff
path: root/lib/propmangle.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/propmangle.js')
-rw-r--r--lib/propmangle.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/propmangle.js b/lib/propmangle.js
index f79b4748..46fb7521 100644
--- a/lib/propmangle.js
+++ b/lib/propmangle.js
@@ -102,7 +102,7 @@ function mangle_properties(ast, options) {
}));
// step 2: transform the tree, renaming properties
- return ast.transform(new TreeTransformer(null, function(node){
+ return ast.transform(new TreeTransformer(function(node){
if (node instanceof AST_ObjectKeyVal) {
if (should_mangle(node.key)) {
node.key = mangle(node.key);