X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=node_modules%2Fgrunt-legacy-util%2Fnode_modules%2Flodash%2Fover.js;fp=node_modules%2Fgrunt-legacy-util%2Fnode_modules%2Flodash%2Fover.js;h=e2a8f45f5cd0301d9d0f5f16f4e46fbcabbf317e;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/node_modules/grunt-legacy-util/node_modules/lodash/over.js b/node_modules/grunt-legacy-util/node_modules/lodash/over.js new file mode 100644 index 000000000..e2a8f45f5 --- /dev/null +++ b/node_modules/grunt-legacy-util/node_modules/lodash/over.js @@ -0,0 +1,22 @@ +var arrayMap = require('./_arrayMap'), + createOver = require('./_createOver'); + +/** + * Creates a function that invokes `iteratees` with the arguments provided + * to the created function and returns their results. + * + * @static + * @memberOf _ + * @category Util + * @param {...(Function|Function[])} iteratees The iteratees to invoke. + * @returns {Function} Returns the new function. + * @example + * + * var func = _.over(Math.max, Math.min); + * + * func(1, 2, 3, 4); + * // => [4, 1] + */ +var over = createOver(arrayMap); + +module.exports = over;