diff options
author | Mihai Bazon <mihai@bazon.net> | 2013-10-09 19:15:09 +0300 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2013-10-09 19:15:09 +0300 |
commit | 3a81f60982a7f20ef9bd75b851759793ffe1d270 (patch) | |
tree | fb75459a4d9044858912c8725ea80bf0d8fb761a | |
parent | f2348dd98baeb7dc3e0542465ede897c15d7cbc9 (diff) | |
download | tracifyjs-3a81f60982a7f20ef9bd75b851759793ffe1d270.tar.gz tracifyjs-3a81f60982a7f20ef9bd75b851759793ffe1d270.zip |
Don't drop_unused before compression.
Fix #280, #282
-rw-r--r-- | lib/compress.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js index 4dd273b5..3502b23e 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -86,7 +86,6 @@ merge(Compressor.prototype, { before: function(node, descend, in_list) { if (node._squeezed) return node; if (node instanceof AST_Scope) { - node.drop_unused(this); node = node.hoist_declarations(this); } descend(node, this); |