()
| 37 | return item.call ? item() : list[item] |
| 38 | } |
| 39 | function callback() { |
| 40 | if (!--queue) { |
| 41 | list[id] = 1 |
| 42 | done && done() |
| 43 | for (var dset in delay) { |
| 44 | every(dset.split('|'), loopFn) && !each(delay[dset], loopFn) && (delay[dset] = []) |
| 45 | } |
| 46 | } |
| 47 | } |
| 48 | setTimeout(function () { |
| 49 | each(paths, function loading(path, force) { |
| 50 | if (path === null) return callback() |