[Pkg-javascript-commits] [uglifyjs] 19/50: clarify wording (#1931)

Jonas Smedegaard dr at jones.dk
Thu Aug 17 23:06:44 UTC 2017


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

js pushed a commit to branch master
in repository uglifyjs.

commit 9f5a6029a3aac4e03ef4cd55459f1537cdbed6fc
Author: olsonpm <olsonpm at users.noreply.github.com>
Date:   Fri May 12 23:54:01 2017 -0500

    clarify wording (#1931)
---
 README.md | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 8ec101f..3edb417 100644
--- a/README.md
+++ b/README.md
@@ -444,8 +444,9 @@ to set `true`; it's effectively a shortcut for `foo=true`).
   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 is marked as "pure" via the comment annotation
-`/* @__PURE__ */` or `/* #__PURE__ */`)
+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()`;
 
 
 ### The `unsafe` option

-- 
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