[Pkg-javascript-commits] [uglifyjs] 206/491: Fix CLI example for mangle reserved list of names (#2294)

Jonas Smedegaard dr at jones.dk
Wed Feb 14 19:51:36 UTC 2018


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/3.3.10-1
in repository uglifyjs.

commit 71d52f147dedfb49bf45bccb46613cd1f46ec286
Author: David Šanda <sanda.david at gmail.com>
Date:   Wed Aug 30 18:55:32 2017 +0200

    Fix CLI example for mangle reserved list of names (#2294)
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 15d8d7c..6bfede0 100644
--- a/README.md
+++ b/README.md
@@ -213,7 +213,7 @@ When mangling is enabled but you want to prevent certain names from being
 mangled, you can declare those names with `--mangle reserved` — pass a
 comma-separated list of names.  For example:
 
-    uglifyjs ... -m reserved=[$,require,exports]
+    uglifyjs ... -m reserved=['$','require','exports']
 
 to prevent the `require`, `exports` and `$` names from being changed.
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git



More information about the Pkg-javascript-commits mailing list