diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2018-01-05 05:08:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-05 05:08:09 +0800 |
commit | afbcebddf63c7ffa5b0df9b3712ee3b560918f1e (patch) | |
tree | 8348f45f70f00abdb764c328899cd849ee870d23 /lib/minify.js | |
parent | 484e484571448595389e4c6fd9559e47c5591f7a (diff) | |
download | tracifyjs-afbcebddf63c7ffa5b0df9b3712ee3b560918f1e.tar.gz tracifyjs-afbcebddf63c7ffa5b0df9b3712ee3b560918f1e.zip |
fix `mangle` name collision across files (#2722)
Diffstat (limited to 'lib/minify.js')
-rw-r--r-- | lib/minify.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/minify.js b/lib/minify.js index 806c3aeb..a68cbf3a 100644 --- a/lib/minify.js +++ b/lib/minify.js @@ -29,7 +29,6 @@ function set_shorthand(name, options, keys) { function init_cache(cache) { if (!cache) return; - if (!("cname" in cache)) cache.cname = -1; if (!("props" in cache)) { cache.props = new Dictionary(); } else if (!(cache.props instanceof Dictionary)) { @@ -39,7 +38,6 @@ function init_cache(cache) { function to_json(cache) { return { - cname: cache.cname, props: cache.props.toObject() }; } |