source: frontend/node_modules/underscore/modules/_cb.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 418 bytes
Line 
1import _ from './underscore.js';
2import baseIteratee from './_baseIteratee.js';
3import iteratee from './iteratee.js';
4
5// The function we call internally to generate a callback. It invokes
6// `_.iteratee` if overridden, otherwise `baseIteratee`.
7export default function cb(value, context, argCount) {
8 if (_.iteratee !== iteratee) return _.iteratee(value, context);
9 return baseIteratee(value, context, argCount);
10}
Note: See TracBrowser for help on using the repository browser.