diff options
author | Mihai Bazon <mihai@bazon.net> | 2014-09-28 12:36:36 +0300 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2014-09-28 12:36:36 +0300 |
commit | a64bdda9ae42ff39543fcfe16d70c4e064780e92 (patch) | |
tree | f94510d8c59c0041f09a6dbc88a8f7e67003f54d | |
parent | 01d19b4b52abef47f8501e8719f0f17b11fc0d70 (diff) | |
download | tracifyjs-a64bdda9ae42ff39543fcfe16d70c4e064780e92.tar.gz tracifyjs-a64bdda9ae42ff39543fcfe16d70c4e064780e92.zip |
Document `keep_fargs`. Close #557
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |