document the webkit output option (#2490)

- workaround for WebKit bugs
- PhantomJS users should enable this output option

closes #2489
This commit is contained in:
kzc
2017-11-17 00:46:49 -05:00
committed by Alex Lam S.L
parent ae28a24c7f
commit 6142117cdd

View File

@@ -865,6 +865,9 @@ can pass additional arguments that control the code output:
- `shebang` (default `true`) -- preserve shebang `#!` in preamble (bash scripts) - `shebang` (default `true`) -- preserve shebang `#!` in preamble (bash scripts)
- `webkit` (default `false`) -- enable workarounds for WebKit bugs.
PhantomJS users should set this option to `true`.
- `width` (default `80`) -- only takes effect when beautification is on, this - `width` (default `80`) -- only takes effect when beautification is on, this
specifies an (orientative) line width that the beautifier will try to specifies an (orientative) line width that the beautifier will try to
obey. It refers to the width of the line text (excluding indentation). obey. It refers to the width of the line text (excluding indentation).