aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Bazon <mihai@bazon.net>2014-09-28 12:36:36 +0300
committerMihai Bazon <mihai@bazon.net>2014-09-28 12:36:36 +0300
commita64bdda9ae42ff39543fcfe16d70c4e064780e92 (patch)
treef94510d8c59c0041f09a6dbc88a8f7e67003f54d
parent01d19b4b52abef47f8501e8719f0f17b11fc0d70 (diff)
downloadtracifyjs-a64bdda9ae42ff39543fcfe16d70c4e064780e92.tar.gz
tracifyjs-a64bdda9ae42ff39543fcfe16d70c4e064780e92.zip
Document `keep_fargs`. Close #557
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index c60a124d..f4d82ace 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