make `collapse_vars` consistent with `toplevel` (#1608)
authorAlex Lam S.L <alexlamsl@gmail.com>
Thu, 16 Mar 2017 05:22:26 +0000 (13:22 +0800)
committerGitHub <noreply@github.com>
Thu, 16 Mar 2017 05:22:26 +0000 (13:22 +0800)
commit5ae04b35452693e886a7f836e62e3290b08016a1
tree3d96ec1d04b055d219630d6cc580c443691b54b1
parenta80b228d8be37eb6585bca01c6fb5468db5bea42
make `collapse_vars` consistent with `toplevel` (#1608)

fixes #1605
lib/compress.js
test/compress/collapse_vars.js
test/compress/issue-973.js
test/mocha/cli.js
test/mocha/minify.js