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