diff options
Diffstat (limited to 'tools/node.js')
-rw-r--r-- | tools/node.js | 2 |
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 |