diff options
author | kzc <zaxxon2011@gmail.com> | 2016-12-21 10:52:30 -0500 |
---|---|---|
committer | Richard van Velzen <rvanvelzen1@gmail.com> | 2017-01-19 17:14:33 +0100 |
commit | ec2e5fa3a2e5cf421aebd94b93c668b18e540c69 (patch) | |
tree | a53aa39e78162035803619f0d03800384e9376f4 /README.md | |
parent | da17766ddda3b89f94706ad7e329faa66a3e3a3e (diff) | |
download | tracifyjs-ec2e5fa3a2e5cf421aebd94b93c668b18e540c69.tar.gz tracifyjs-ec2e5fa3a2e5cf421aebd94b93c668b18e540c69.zip |
Have minify() and tests use figure_out_scope() as uglifyjs CLI does
Clarify docs, help and tests for --support-ie8 and screw_ie8=false
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -67,10 +67,13 @@ The available options are: JS that was generated from some other original code. --screw-ie8 Use this flag if you don't wish to support - Internet Explorer 6-8 quirks. + Internet Explorer 6/7/8. By default UglifyJS will not try to be IE-proof. - --support-ie8 Use this flag to support Internet Explorer 6-8 quirks. - Note: may break standards compliant `catch` identifiers. + --support-ie8 Use this flag to support Internet Explorer 6/7/8. + Equivalent to setting `screw_ie8: false` in `minify()` + for `compress`, `mangle` and `output` options. + Note: `--support-ie8` may generate incorrect code + for `try`/`catch` in ES5 compliant browsers. --expr Parse a single expression, rather than a program (for parsing JSON) -p, --prefix Skip prefix for original filenames that appear |