Home
last modified time | relevance | path

Searched refs:pure_funcs (Results 1 – 5 of 5) sorted by relevance

/plugin/asciidocjs/node_modules/pug-filters/node_modules/uglify-js/bin/
Duglifyjs189 if (ARGS.pure_funcs) {
190 if (COMPRESS) COMPRESS.pure_funcs = ARGS.pure_funcs;
/plugin/asciidocjs/node_modules/pug-filters/node_modules/uglify-js/lib/
Dcompress.js75 pure_funcs : null, property
91 var pure_funcs = this.options["pure_funcs"];
92 if (typeof pure_funcs == "function") {
93 this.pure_funcs = pure_funcs;
95 this.pure_funcs = pure_funcs ? function(node) {
96 return pure_funcs.indexOf(node.expression.print_to_string()) < 0;
1755 if (!this.has_pure_annotation(compressor) && compressor.pure_funcs(this)) return true;
2318 if (!this.has_pure_annotation(compressor) && compressor.pure_funcs(this)) {
/plugin/asciidocjs/node_modules/pug-filters/node_modules/uglify-js/
DREADME.md90 `-c 'if_return=false,pure_funcs=["Math.pow","console.log"]'`
415 - `pure_funcs` -- default `null`. You can pass an array of names and
421 pass `pure_funcs: [ 'Math.floor' ]` to let it know that this
429 after dropping the function call then use `pure_funcs` instead.
/plugin/asciidocjs/node_modules/uglify-js/
DREADME.md60 `pure_funcs` List of functions that can be safely
694 after dropping the function call then use `pure_funcs` instead.
768 - `pure_funcs` (default: `null`) — You can pass an array of names and
774 pass `pure_funcs: [ 'Math.floor' ]` to let it know that this
777 overhead (compression will be slower). Make sure symbols under `pure_funcs`
/plugin/asciidocjs/node_modules/uglify-js/lib/
Dcompress.js89 pure_funcs : null, property
135 var pure_funcs = this.options["pure_funcs"];
136 if (typeof pure_funcs == "function") {
137 this.pure_funcs = pure_funcs;
138 } else if (typeof pure_funcs == "string") {
139 this.pure_funcs = function(node) { method in Compressor
146 return !(expr && pure_funcs === expr.print_to_string());
148 } else if (Array.isArray(pure_funcs)) {
149 this.pure_funcs = function(node) { method in Compressor
156 return !(expr && member(expr.print_to_string(), pure_funcs));
[all …]