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

Function next

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

Source from the content-addressed store, hash-verified

74802 var arrLength = arr.length;
74803
74804 function next(errors) {
74805 if (errors && errors.length) {
74806 callback(errors);
74807 return;
74808 }
74809
74810 var original = index;
74811 index = index + 1;
74812
74813 if (original < arrLength) {
74814 func(arr[original], next);
74815 } else {
74816 callback([]);
74817 }
74818 }
74819
74820 next([]);
74821}

Callers 3

asyncSerialArrayFunction · 0.70
sample_jqueryui.jsFile · 0.70
doneFunction · 0.70

Calls 4

convertFieldsErrorFunction · 0.85
callbackFunction · 0.70
funcFunction · 0.70
resolveFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…