public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2348dd
)
Don't drop_unused before compression.
author
Mihai Bazon
<mihai@bazon.net>
Wed, 9 Oct 2013 16:15:09 +0000
(19:15 +0300)
committer
Mihai Bazon
<mihai@bazon.net>
Wed, 9 Oct 2013 16:15:09 +0000
(19:15 +0300)
Fix #280, #282
lib/compress.js
patch
|
blob
|
history
diff --git
a/lib/compress.js
b/lib/compress.js
index
4dd273b
..
3502b23
100644
(file)
--- 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);