[Pkg-javascript-commits] [uglifyjs] 79/491: fix docs for side_effects flag to reflect current behavior (#1966)

Jonas Smedegaard dr at jones.dk
Wed Feb 14 19:51:23 UTC 2018


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/3.3.10-1
in repository uglifyjs.

commit 6ed90913cae80e55b9575a64a59ef7b1bd06e702
Author: Kara <kara at users.noreply.github.com>
Date:   Wed May 17 19:51:49 2017 -0700

    fix docs for side_effects flag to reflect current behavior (#1966)
---
 README.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 4d60796..a2997b7 100644
--- a/README.md
+++ b/README.md
@@ -552,10 +552,10 @@ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.u
 - `keep_infinity` -- default `false`. Pass `true` to prevent `Infinity` from
   being compressed into `1/0`, which may cause performance issues on Chrome.
 
-- `side_effects` -- default `false`. Pass `true` to potentially drop functions
-marked as "pure".  A function call is marked as "pure" if a comment annotation
-`/*@__PURE__*/` or `/*#__PURE__*/` immediately precedes the call. For example:
-`/*@__PURE__*/foo()`;
+- `side_effects` -- default `true`. Pass `false` to disable potentially dropping 
+functions marked as "pure".  A function call is marked as "pure" if a comment 
+annotation `/*@__PURE__*/` or `/*#__PURE__*/` immediately precedes the call. For 
+example: `/*@__PURE__*/foo()`;
 
 ## Mangle options
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git



More information about the Pkg-javascript-commits mailing list