public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01d19b4
)
Document `keep_fargs`. Close #557
author
Mihai Bazon
<mihai@bazon.net>
Sun, 28 Sep 2014 09:36:36 +0000
(12:36 +0300)
committer
Mihai Bazon
<mihai@bazon.net>
Sun, 28 Sep 2014 09:36:36 +0000
(12:36 +0300)
README.md
patch
|
blob
|
history
diff --git
a/README.md
b/README.md
index
c60a124
..
f4d82ac
100644
(file)
--- 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