aboutsummaryrefslogtreecommitdiff
path: root/test/compress/properties.js
diff options
context:
space:
mode:
authorkzc <zaxxon2011@gmail.com>2016-06-30 00:24:34 -0400
committerRichard van Velzen <rvanvelzen1@gmail.com>2016-06-30 21:49:48 +0200
commit02c638209ee22816b1324ff0c0f47b27db1336af (patch)
treeab0477bc05a88c73e818b059c3c23baa34b48508 /test/compress/properties.js
parent030611b729af46d2239bd09c95f88e708660f254 (diff)
downloadtracifyjs-02c638209ee22816b1324ff0c0f47b27db1336af.tar.gz
tracifyjs-02c638209ee22816b1324ff0c0f47b27db1336af.zip
Enable --screw-ie8 by default.
catch identifier is mangled correctly for ES5 standards-compliant JS engines by default. Unconditionally use the ie8 if/do-while workaround whether or not --screw-ie8 is enabled. To support non-standard ie8 javascript use: uglifyjs --support-ie8
Diffstat (limited to 'test/compress/properties.js')
-rw-r--r--test/compress/properties.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/compress/properties.js b/test/compress/properties.js
index 574c5142..cf52e631 100644
--- a/test/compress/properties.js
+++ b/test/compress/properties.js
@@ -12,7 +12,8 @@ keep_properties: {
dot_properties: {
options = {
- properties: true
+ properties: true,
+ screw_ie8: false
};
input: {
a["foo"] = "bar";