Document keep_fargs. Close #557

This commit is contained in:
Mihai Bazon
2014-09-28 12:36:36 +03:00
parent 01d19b4b52
commit a64bdda9ae

View File

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