From 9fc6796d2a5f385500efc84020b5f6f73a6bb4a0 Mon Sep 17 00:00:00 2001 From: Mihai Bazon Date: Wed, 22 May 2013 21:22:14 +0300 Subject: Add `negate_iife` option to the code generator. See discussion in a9511dfbe5c0d96d8cacb87582aa9a19737bbb98 --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 88dc310e..749b8cec 100644 --- a/README.md +++ b/README.md @@ -287,6 +287,10 @@ can pass additional arguments that control the code output: you pass `false` then whenever possible we will use a newline instead of a semicolon, leading to more readable output of uglified code (size before gzip could be smaller; size after gzip insignificantly larger). +- `negate-iife` (default `!beautify`) -- prefer negation, rather than + parens, for "Immediately-Called Function Expressions". This defaults to + `true` when beautification is off, and `false` if beautification is on; + pass it manually to force a value. ### Keeping copyright notices or other comments -- cgit v1.2.3