Age | Commit message (Expand) | Author |
---|---|---|
2016-06-21 | Fix conditional expressions of form (x ? -1 : -1)...Fixes #1154, #1153 | kzc |
2016-04-02 | Optimize ternaries with boolean consequent or alternative....Fixes #511 | kzc |
2016-02-22 | boolean_expression ? true : false --> boolean_expression | kzc |
2015-11-24 | #873 Fix `conditionals` optimizations with default compress options | kzc |
2015-06-14 | spacing | kzc |
2015-06-11 | optimizations for && and || where left side is constant expression | kzc |
2015-05-18 | Fix compressing conditionals...Only transform foo() ? EXP(x) : EXP(y) into EXP(foo() ? x : y) if EXP has no side effects. Fix #710 | Mihai Bazon |
2015-04-13 | Fix compression of conditionals...Don't move the condition on the right side of an assignment when the left side may have side effects. Fix #677 | Mihai Bazon |
2015-02-11 | Clean up unit test breakage...In 992b6b9fcce47ca67ecb14675f10b172ce7a99b5 unit test broke (which I missed). This was due to undeclared variables not being side-effects free. However, since they're really not side-effect free, just declare them in the test cases. | Richard van Velzen |
2015-01-13 | Optimize conditionals where the consequent and alternative are both booleans ... | Tal Ater |
2014-09-28 | Referencing a global is assumed to have side effects....Close #550 | Mihai Bazon |
2014-09-04 | Compress conditions that have side effects using sequences | Tal Ater |
2014-09-03 | Added a test for else if | Tal Ater |
2014-09-02 | Compress conditional assignments where all possible outcomes are equivalant a... | Tal Ater |
2014-02-06 | Simplify nested conditionals if possible | Matt Basta |
2013-12-29 | Conditional/call optimization... foo ? bar(x) : bar(y) ==> bar(foo ? x : y) | Mihai Bazon |
2012-10-03 | added option for side-effect-free statements, fix test | Mihai Bazon |
2012-10-03 | disable `hoist_vars` by default and change `comparations` to `comparisons` | Mihai Bazon |
2012-09-17 | minor | Mihai Bazon |
2012-09-16 | rewrite handle_if_return...optimizations of if/return/continue seem to be even better now | Mihai Bazon |
2012-09-13 | few more optimizations:...- do multiple passes in tighten_body if it was changed - transform if (foo) return x; return y; ==> return foo?x:y - don't optimize !0 as true (use best_of after evaluation of constant expr) With hoist_vars off we now beat UglifyJS v1 on jQuery-1.8.1 | Mihai Bazon |
2012-09-12 | minor | Mihai Bazon |
2012-09-10 | more progress on the compressor (WIP) | Mihai Bazon |
2012-09-07 | always keep declarations found in unreachable code...a few more tests and some cleanups. | Mihai Bazon |