Added the underscore node_module.
All checks were successful
Auto Maintenance Cycle / pre-commit Autoupdate (push) Successful in 39s

This commit is contained in:
2023-11-19 13:27:05 +01:00
parent 9e76cefde3
commit 2b58149655
857 changed files with 16626 additions and 105549 deletions

18
node_modules/underscore/amd/map.js generated vendored Normal file
View File

@ -0,0 +1,18 @@
define(['./_cb', './_isArrayLike', './keys'], function (_cb, _isArrayLike, keys) {
// Return the results of applying the iteratee to each element.
function map(obj, iteratee, context) {
iteratee = _cb(iteratee, context);
var _keys = !_isArrayLike(obj) && keys(obj),
length = (_keys || obj).length,
results = Array(length);
for (var index = 0; index < length; index++) {
var currentKey = _keys ? _keys[index] : index;
results[index] = iteratee(obj[currentKey], currentKey, obj);
}
return results;
}
return map;
});