aboutsummaryrefslogtreecommitdiff
path: root/test/compress/drop-unused.js
AgeCommit message (Expand)Author
2017-02-21drop unused: toplevel, assign-only...- assign statement does not count towards variable usage by default - only works with assignments on the same scope level as declaration - can be disabled with `unused` set to "keep_assign" - `toplevel` to drop unused top-level variables and/or functions - `top_retain` to whitelist top-level exceptions closes #1450 alexlamsl
2015-09-14Control keeping function arguments with a single optionVille Lautanala
2015-03-20Keep unused function arguments by default...Discarding unused function arguments affects function.length, which can lead to some hard to debug issues. This optimization is now done only in "unsafe mode". Fix #121 Mihai Bazon
2015-01-04Add a "keep_fnames" option to the compressor to retain function expression names...See #552. This is useful for stack traces. Richard van Velzen
2013-12-05AST_Catch shouldn't really inherit from AST_Scope. Fix #363...I hereby acknowledge that figure_out_scope has become a mess. Mihai Bazon
2013-08-07Don't drop unused setter argument....Fix #257 Mihai Bazon
2012-10-13drop unused function arguments...also add test for "drop_unused" (the last one fails for now) Mihai Bazon