aboutsummaryrefslogtreecommitdiff
path: root/tools/node.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node.js')
-rw-r--r--tools/node.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/node.js b/tools/node.js
index fa8c19dc..ecbf8d3e 100644
--- a/tools/node.js
+++ b/tools/node.js
@@ -78,7 +78,7 @@ exports.minify = function(files, options) {
UglifyJS.merge(compress, options.compress);
toplevel.figure_out_scope();
var sq = UglifyJS.Compressor(compress);
- toplevel = toplevel.transform(sq);
+ toplevel = sq.compress(toplevel);
}
// 3. mangle properties