[Pkg-javascript-commits] [uglifyjs] 66/190: Fix docs for keep_fargs
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun Aug 7 23:17:13 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to annotated tag upstream/2.7.0
in repository uglifyjs.
commit 645626ebe8bcf578d4c34911b077360f2481040b
Author: plievone <petri.lievonen at tkk.fi>
Date: Sat Nov 14 11:38:00 2015 +0200
Fix docs for keep_fargs
Compression options `keep_fargs` and `unsafe` were decoupled in v.2.5.0 (commit 5fd1245), so document actual keep_fargs default.
---
README.md | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/README.md b/README.md
index c243454..bd0d7c4 100644
--- a/README.md
+++ b/README.md
@@ -348,7 +348,7 @@ to set `true`; it's effectively a shortcut for `foo=true`).
- `drop_console` -- default `false`. Pass `true` to discard calls to
`console.*` functions.
-- `keep_fargs` -- default `false`. Pass `true` to prevent the
+- `keep_fargs` -- default `true`. Prevents the
compressor from discarding unused function arguments. You need this
for code which relies on `Function.length`.
@@ -372,7 +372,6 @@ when this flag is on:
- `void 0` → `undefined` (if there is a variable named "undefined" in
scope; we do it because the variable name will be mangled, typically
reduced to a single character)
-- discards unused function arguments (affects `function.length`)
### Conditional compilation
--
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