[Pkg-javascript-commits] [uglifyjs] 61/491: clarify wording (#1931)

Jonas Smedegaard dr at jones.dk
Wed Feb 14 19:51:22 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 9e29b6dad21ab796dbf67d6886c198f3be7a29a0
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 205395f..33a9c71 100644
--- a/README.md
+++ b/README.md
@@ -410,8 +410,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