forked from actions/setup-maven
14 lines
453 B
JavaScript
14 lines
453 B
JavaScript
|
define(['./underscore', './_baseIteratee'], function (underscore, _baseIteratee) {
|
||
|
|
||
|
// External wrapper for our callback generator. Users may customize
|
||
|
// `_.iteratee` if they want additional predicate/iteratee shorthand styles.
|
||
|
// This abstraction hides the internal-only `argCount` argument.
|
||
|
function iteratee(value, context) {
|
||
|
return _baseIteratee(value, context, Infinity);
|
||
|
}
|
||
|
underscore.iteratee = iteratee;
|
||
|
|
||
|
return iteratee;
|
||
|
|
||
|
});
|