diff options
author | Mihai Bazon <mihai@bazon.net> | 2013-06-28 10:08:13 +0300 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2013-06-28 10:08:13 +0300 |
commit | d0689c81bb859ac78a966c526073dcc50a8ccde9 (patch) | |
tree | 8180a60fe48406d0932650527c50b93b52f8e347 /tools | |
parent | 02a84385a02ccf4cf3a1ccca2fc5f6a90fb43487 (diff) | |
download | tracifyjs-d0689c81bb859ac78a966c526073dcc50a8ccde9.tar.gz tracifyjs-d0689c81bb859ac78a966c526073dcc50a8ccde9.zip |
Reset the base54 counters every time minify is called.
Close #229
Diffstat (limited to 'tools')
-rw-r--r-- | tools/node.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/node.js b/tools/node.js index c0dd3dbc..614e083d 100644 --- a/tools/node.js +++ b/tools/node.js @@ -63,6 +63,8 @@ exports.minify = function(files, options) { if (typeof files == "string") files = [ files ]; + UglifyJS.base54.reset(); + // 1. parse var toplevel = null; files.forEach(function(file){ |