https://github.com/mishoo/UglifyJS
Revision 1e51586996ae4fdac68a8ea597c20ab170809c43 authored by kzc on 21 February 2017, 06:24:18 UTC, committed by alexlamsl on 21 February 2017, 06:24:18 UTC
A function call or IIFE with an immediately preceding comment
containing `@__PURE__` or `#__PURE__` is deemed to be a
side-effect-free pure function call and can potentially be
dropped.

Depends on `side_effects` option.

`[#@]__PURE__` hint will be removed from comment when pure
call is dropped.

fixes #1261
closes #1448
1 parent d48a308
History
Tip revision: 1e51586996ae4fdac68a8ea597c20ab170809c43 authored by kzc on 21 February 2017, 06:24:18 UTC
Support marking a call as pure
Tip revision: 1e51586
File Mode Size
bin
lib
test
tools
.gitattributes -rw-r--r-- 20 bytes
.gitignore -rw-r--r-- 35 bytes
.travis.yml -rw-r--r-- 150 bytes
LICENSE -rw-r--r-- 1.3 KB
README.md -rw-r--r-- 39.2 KB
appveyor.yml -rw-r--r-- 350 bytes
package.json -rw-r--r-- 1.3 KB

README.md

back to top