No Description

_cb.js 442B

123456789101112
  1. define(['./underscore', './_baseIteratee', './iteratee'], function (underscore, _baseIteratee, iteratee) {
  2. // The function we call internally to generate a callback. It invokes
  3. // `_.iteratee` if overridden, otherwise `baseIteratee`.
  4. function cb(value, context, argCount) {
  5. if (underscore.iteratee !== iteratee) return underscore.iteratee(value, context);
  6. return _baseIteratee(value, context, argCount);
  7. }
  8. return cb;
  9. });