diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-07-15 22:50:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-15 22:50:59 +0800 |
commit | 9e1da9235ea498760f45709848b76469f5b2a585 (patch) | |
tree | da81a0cca3c519b50f3cbb4b03f46247b2d66120 /test/compress/properties.js | |
parent | a5ffe2c23fdfaf13f3466a01d9dd9d590c5e8672 (diff) | |
download | tracifyjs-9e1da9235ea498760f45709848b76469f5b2a585.tar.gz tracifyjs-9e1da9235ea498760f45709848b76469f5b2a585.zip |
ensure `ie8` works with mangled properties (#2238)
fixes #2234
Diffstat (limited to 'test/compress/properties.js')
-rw-r--r-- | test/compress/properties.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/compress/properties.js b/test/compress/properties.js index a5527de3..dda2e74f 100644 --- a/test/compress/properties.js +++ b/test/compress/properties.js @@ -13,8 +13,10 @@ keep_properties: { dot_properties: { options = { properties: true, + } + beautify = { ie8: true, - }; + } input: { a["foo"] = "bar"; a["if"] = "if"; @@ -36,8 +38,10 @@ dot_properties: { dot_properties_es5: { options = { properties: true, + } + beautify = { ie8: false, - }; + } input: { a["foo"] = "bar"; a["if"] = "if"; |