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

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

Fix frontend appearance

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