source: frontend/node_modules/underscore/cjs/_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: 463 bytes
Line 
1var underscore = require('./underscore.js');
2var _baseIteratee = require('./_baseIteratee.js');
3var iteratee = require('./iteratee.js');
4
5// The function we call internally to generate a callback. It invokes
6// `_.iteratee` if overridden, otherwise `baseIteratee`.
7function cb(value, context, argCount) {
8 if (underscore.iteratee !== iteratee) return underscore.iteratee(value, context);
9 return _baseIteratee(value, context, argCount);
10}
11
12module.exports = cb;
Note: See TracBrowser for help on using the repository browser.