diff options
Diffstat (limited to 'alarm/node_modules/lodash/_createOver.js')
-rw-r--r-- | alarm/node_modules/lodash/_createOver.js | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/alarm/node_modules/lodash/_createOver.js b/alarm/node_modules/lodash/_createOver.js deleted file mode 100644 index 3b94551..0000000 --- a/alarm/node_modules/lodash/_createOver.js +++ /dev/null @@ -1,27 +0,0 @@ -var apply = require('./_apply'), - arrayMap = require('./_arrayMap'), - baseIteratee = require('./_baseIteratee'), - baseRest = require('./_baseRest'), - baseUnary = require('./_baseUnary'), - flatRest = require('./_flatRest'); - -/** - * Creates a function like `_.over`. - * - * @private - * @param {Function} arrayFunc The function to iterate over iteratees. - * @returns {Function} Returns the new over function. - */ -function createOver(arrayFunc) { - return flatRest(function(iteratees) { - iteratees = arrayMap(iteratees, baseUnary(baseIteratee)); - return baseRest(function(args) { - var thisArg = this; - return arrayFunc(iteratees, function(iteratee) { - return apply(iteratee, thisArg, args); - }); - }); - }); -} - -module.exports = createOver; |