UglifyJS/test
alexlamsl 7550c53fd6 fix usage of transform() vs optimize()
Given the current `OPT()` node:
- `optimize(compressor)` works on the same level, and will only `descend()` if returned instance is different
- `transform(compressor)` works on child nodes, and will always `descend()`

Other fixes
- `loopcontrol_target()` should compare against `compressor.self()` since the current node may have already been displaced
- remove obsolete optimisation in `AST_Binary` after #1477

fixes #1592
2017-03-11 05:08:30 +08:00
..
compress fix usage of transform() vs optimize() 2017-03-11 05:08:30 +08:00
input Correctly raise a parse exception with a missing loop body (#1585) 2017-03-10 03:08:43 +08:00
mocha fixup for #1585 (#1589) 2017-03-10 10:49:41 +08:00
benchmark.js include benchmark.js in test suite (#1564) 2017-03-07 19:25:12 +08:00
jetstream.js add benchmark & JetStream tests 2017-02-21 13:29:58 +08:00
mocha.js Add mocha tests 2015-12-27 22:38:20 +01:00
mozilla-ast.js Fix mozilla-ast after module loading changes 2015-09-24 18:13:21 +03:00
run-tests.js support multi-line string in tests (#1590) 2017-03-10 11:27:30 +08:00
sourcemaps.js Fix #836 2015-10-20 19:48:56 +01:00