[Pkg-javascript-commits] [uglifyjs] 23/26: Document `keep_fargs`. Close #557

Jonas Smedegaard dr at jones.dk
Tue May 19 00:02:22 UTC 2015


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

js pushed a commit to tag v2.4.16
in repository uglifyjs.

commit a64bdda9ae42ff39543fcfe16d70c4e064780e92
Author: Mihai Bazon <mihai at bazon.net>
Date:   Sun Sep 28 12:36:36 2014 +0300

    Document `keep_fargs`.  Close #557
---
 README.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/README.md b/README.md
index c60a124..f4d82ac 100644
--- a/README.md
+++ b/README.md
@@ -256,6 +256,10 @@ 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
+  compressor from discarding unused function arguments.  You need this
+  for code which relies on `Function.length`.
+
 ### The `unsafe` option
 
 It enables some transformations that *might* break code logic in certain

-- 
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