add `--pure-funcs` option
authorDamian Krzeminski <pirxpilot@code42day.com>
Wed, 14 Oct 2015 01:05:37 +0000 (21:05 -0400)
committerDamian Krzeminski <pirxpilot@code42day.com>
Wed, 14 Oct 2015 01:24:14 +0000 (21:24 -0400)
commitd5138f74677012b301636cad6d218486e53265e2
tree82e186881ce032e46fa7841282773744cb79c2a8
parenteac67b281644d4363deebf5dd3d2a1322e3b2319
add `--pure-funcs` option

it has the same effect as specifying `pure_funcs` in `--compressor`
option, however it's much easier to use

instead of:

    --compressor 'pure_func=["Math.floor","debug","console.logTime"]'

it's now possible:

    --compressor --pure-funcs Math.floor debug console.logTime

fixes #684
README.md
bin/uglifyjs