aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard van Velzen <rvanvelzen1@gmail.com>2015-11-14 12:04:49 +0100
committerRichard van Velzen <rvanvelzen1@gmail.com>2015-11-14 12:04:49 +0100
commit08b80302eb28a1433d79b2e4ee40506eb6f390c7 (patch)
tree9dde67acc91f3a5d32ad597184f0b1c2bad75542
parentd895c09c70e66a20fe4fd3a923e6b672437030b9 (diff)
parent645626ebe8bcf578d4c34911b077360f2481040b (diff)
downloadtracifyjs-08b80302eb28a1433d79b2e4ee40506eb6f390c7.tar.gz
tracifyjs-08b80302eb28a1433d79b2e4ee40506eb6f390c7.zip
Merge pull request #864 from plievone/patch-1
Fix docs for keep_fargs
-rw-r--r--README.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/README.md b/README.md
index c2434547..bd0d7c48 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