From ec2e5fa3a2e5cf421aebd94b93c668b18e540c69 Mon Sep 17 00:00:00 2001 From: kzc Date: Wed, 21 Dec 2016 10:52:30 -0500 Subject: Have minify() and tests use figure_out_scope() as uglifyjs CLI does Clarify docs, help and tests for --support-ie8 and screw_ie8=false --- bin/uglifyjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/uglifyjs') 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. \ -- cgit v1.2.3