diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-03-05 12:51:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-05 12:51:11 +0800 |
commit | 1f0333e9f146311e0e412fbd0783c0e1e63c7802 (patch) | |
tree | 8ad032bf7c16c7c89086331499a1c066407a2374 /bin/uglifyjs | |
parent | eb98a7f2f38f5de16b50560199ee7ec719a1e945 (diff) | |
download | tracifyjs-1f0333e9f146311e0e412fbd0783c0e1e63c7802.tar.gz tracifyjs-1f0333e9f146311e0e412fbd0783c0e1e63c7802.zip |
stay safe with constants in IE8- (#1547)
- `undefined` etc. can be redefined at top-level for IE8-, so disable related optimisations
- fixed `--support-ie8` catch mangle bug
Diffstat (limited to 'bin/uglifyjs')
-rwxr-xr-x | bin/uglifyjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/uglifyjs b/bin/uglifyjs index 4dd234dc..e39a4b4b 100755 --- a/bin/uglifyjs +++ b/bin/uglifyjs @@ -26,7 +26,7 @@ mangling you need to use `-c` and `-m`.\ .describe("source-map-include-sources", "Pass this flag if you want to include the content of source files in the source map as sourcesContent property.") .describe("in-source-map", "Input source map, useful if you're compressing JS that was generated from some other original code.") .describe("screw-ie8", "Do not support Internet Explorer 6/7/8. This flag is enabled by default.") - .describe("support-ie8", "Support non-standard Internet Explorer 6/7/8 javascript. Note: may generate incorrect code for try/catch in ES5 compliant browsers.") + .describe("support-ie8", "Support non-standard Internet Explorer 6/7/8 javascript.") .describe("expr", "Parse a single expression, rather than a program (for parsing JSON)") .describe("p", "Skip prefix for original filenames that appear in source maps. \ For example -p 3 will drop 3 directories from file names and ensure they are relative paths. \ |