Age | Commit message (Expand) | Author |
---|---|---|
2017-03-24 | fix corner case in `AST_For.init` (#1652)...Enforce `null` as value for empty initialisation blocks. fixes #1648 | Alex Lam S.L |
2017-03-19 | make `expect_stdout` work on Node.js 0.12 (#1623)...That particular version of Node.js has messed up error messages, so provide a version-specific workaround. Also fixed an formatting issue which would cause `expect_stdout` to fail if error message contains excerpts of input. Apply `expect_stdout` to more applicable tests. | Alex Lam S.L |
2017-03-10 | support multi-line string in tests (#1590)...`expect_exact` sometimes have multiple lines and `\n` are hard to read. Use array of strings to emulate line breaks and improve readability. | Alex Lam S.L |
2017-03-08 | plan B for IE8 do-while semi-colon fix (#1572)...- omitting trailing semi-colon in do-while breaks non-browser parser, e.g. uglify-js 1.x - trailing semi-colon only breaks IE8 if followed by `else` or `while` - always use braces in do-while body to workaround 2nd case with no size loss in compression fixes #1568 | Alex Lam S.L |
2017-03-06 | suppress semicolons after do/while (#1556)...- unless both `beautify` & `screw-ie8` are enabled - deprecate workaround for if-do-while-else fixes #186 | Alex Lam S.L |
2017-03-03 | disable do{...}while(false) optimisation (#1534)...- fails to handle `break` in body fixes #1532 | Alex Lam S.L |
2017-02-21 | tweak do-while loops...- `do{...}while(false)` => `{...}` - clean up `AST_While` logic closes #1452 | alexlamsl |
2016-07-15 | Keep const in own scope while compressing...- Fixes #1205 - Fix provided by @kzc | Anthony Van de Gejuchte |
2015-12-18 | Disable loop optimization for parse-only tests | Anthony Van de Gejuchte |
2015-12-18 | Add tests | Anthony Van de Gejuchte |
2012-11-08 | optimization for if/break as first statement in a loop body... for(...; x; ...) if (y) break; → for(...; x&&!y; ...); similarly for `while` and some combinations (i.e. the `break` appears in the `else` clause, etc.) | Mihai Bazon |