improve `mangle.properties` (#2261)
authorAlex Lam S.L <alexlamsl@gmail.com>
Sat, 29 Jul 2017 15:02:04 +0000 (23:02 +0800)
committerGitHub <noreply@github.com>
Sat, 29 Jul 2017 15:02:04 +0000 (23:02 +0800)
commita845897758aa2cbccf71f37643d31b08cdd22a0e
treea845d73050ec30bbc089252df13a2258053c5e65
parent32ea2c5530079ddbbbc50b23b2adeff44ba7b5df
improve `mangle.properties` (#2261)

- include dead code when `keep_quoted`
- unify `keep_quoted` & `reserved`
- make `test/run-tests.js` consistent with `minify()`

fixes #2256
lib/minify.js
lib/propmangle.js
test/compress/issue-1321.js
test/compress/issue-1770.js
test/compress/issue-747.js
test/compress/properties.js
test/exports.js
test/mocha/minify.js
test/run-tests.js