Document `keep_fargs`. Close #557
authorMihai Bazon <mihai@bazon.net>
Sun, 28 Sep 2014 09:36:36 +0000 (12:36 +0300)
committerMihai Bazon <mihai@bazon.net>
Sun, 28 Sep 2014 09:36:36 +0000 (12:36 +0300)
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