aboutsummaryrefslogtreecommitdiff
path: root/test/compress/properties.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2017-07-15 22:50:59 +0800
committerGitHub <noreply@github.com>2017-07-15 22:50:59 +0800
commit9e1da9235ea498760f45709848b76469f5b2a585 (patch)
treeda81a0cca3c519b50f3cbb4b03f46247b2d66120 /test/compress/properties.js
parenta5ffe2c23fdfaf13f3466a01d9dd9d590c5e8672 (diff)
downloadtracifyjs-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.js8
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";