aboutsummaryrefslogtreecommitdiff
path: root/bin/uglifyjs
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 /bin/uglifyjs
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 'bin/uglifyjs')
-rwxr-xr-xbin/uglifyjs4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/uglifyjs b/bin/uglifyjs
index d5025827..747fb151 100755
--- a/bin/uglifyjs
+++ b/bin/uglifyjs
@@ -26,8 +26,8 @@ mangling you need to use `-c` and `-m`.\
.describe("source-map-inline", "Write base64-encoded source map to the end of js output. Disabled by default")
.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-8 quirks. This flag is enabled by default.")
- .describe("support-ie8", "Support non-standard Internet Explorer 6-8 javascript. Note: may break standards compliant `catch` identifiers.")
+ .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("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. \