Galerie und tage

This commit is contained in:
2021-11-23 17:56:26 +01:00
parent ff35366279
commit 5f873bee89
4693 changed files with 149659 additions and 301447 deletions

46
node_modules/each-async/index.js generated vendored Normal file
View File

@@ -0,0 +1,46 @@
'use strict';
var onetime = require('onetime');
var setImmediateShim = require('set-immediate-shim');
module.exports = function (arr, next, cb) {
var failed = false;
var count = 0;
cb = cb || function () {};
if (!Array.isArray(arr)) {
throw new TypeError('First argument must be an array');
}
if (typeof next !== 'function') {
throw new TypeError('Second argument must be a function');
}
var len = arr.length;
if (!len) {
cb();
return;
}
function callback(err) {
if (failed) {
return;
}
if (err !== undefined && err !== null) {
failed = true;
cb(err);
return;
}
if (++count === len) {
cb();
return;
}
}
for (var i = 0; i < len; i++) {
setImmediateShim(next, arr[i], i, onetime(callback, true));
}
};