Move support for `negate_iife` in the compressor, rather than code generator
authorMihai Bazon <mihai.bazon@gmail.com>
Tue, 20 Aug 2013 14:45:52 +0000 (17:45 +0300)
committerMihai Bazon <mihai.bazon@gmail.com>
Tue, 20 Aug 2013 14:45:52 +0000 (17:45 +0300)
commited80b4a534083510082419b305e0b60b395b10c6
tree9a264d89beb4304dfcbdae48572cf4d7e142154e
parent4f09df238e15bfb9d03d28ba718c402bad0b1078
Move support for `negate_iife` in the compressor, rather than code generator

(the code generator doesn't maintain enough context to know whether
the return value is important or discarded)

Fixes #272
README.md
lib/compress.js
lib/output.js
test/compress/negate-iife.js [new file with mode: 0644]