aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorkzc <zaxxon2011@gmail.com>2016-12-21 10:52:30 -0500
committerRichard van Velzen <rvanvelzen1@gmail.com>2017-01-19 17:14:33 +0100
commitec2e5fa3a2e5cf421aebd94b93c668b18e540c69 (patch)
treea53aa39e78162035803619f0d03800384e9376f4 /README.md
parentda17766ddda3b89f94706ad7e329faa66a3e3a3e (diff)
downloadtracifyjs-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.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/README.md b/README.md
index 1be63009..a8b55843 100644
--- a/README.md
+++ b/README.md
@@ -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