forked from actions/setup-maven
13 lines
442 B
JavaScript
13 lines
442 B
JavaScript
define(['./underscore', './_baseIteratee', './iteratee'], function (underscore, _baseIteratee, iteratee) {
|
|
|
|
// The function we call internally to generate a callback. It invokes
|
|
// `_.iteratee` if overridden, otherwise `baseIteratee`.
|
|
function cb(value, context, argCount) {
|
|
if (underscore.iteratee !== iteratee) return underscore.iteratee(value, context);
|
|
return _baseIteratee(value, context, argCount);
|
|
}
|
|
|
|
return cb;
|
|
|
|
});
|