MCPcopy
hub / github.com/tdewolff/minify / count

Function count

_benchmarks/sample_antd.js:74786–74793  ·  view source on GitHub ↗
(errors)

Source from the content-addressed store, hash-verified

74784 var arrLength = arr.length;
74785
74786 function count(errors) {
74787 results.push.apply(results, errors);
74788 total++;
74789
74790 if (total === arrLength) {
74791 callback(results);
74792 }
74793 }
74794
74795 arr.forEach(function (a) {
74796 func(a, count);

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…