aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash/iteratee.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/lodash/iteratee.js')
-rw-r--r--node_modules/lodash/iteratee.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/node_modules/lodash/iteratee.js b/node_modules/lodash/iteratee.js
index 8ec058876..61b73a8c0 100644
--- a/node_modules/lodash/iteratee.js
+++ b/node_modules/lodash/iteratee.js
@@ -1,6 +1,9 @@
var baseClone = require('./_baseClone'),
baseIteratee = require('./_baseIteratee');
+/** Used to compose bitmasks for cloning. */
+var CLONE_DEEP_FLAG = 1;
+
/**
* Creates a function that invokes `func` with the arguments of the created
* function. If `func` is a property name, the created function returns the
@@ -44,7 +47,7 @@ var baseClone = require('./_baseClone'),
* // => ['def']
*/
function iteratee(func) {
- return baseIteratee(typeof func == 'function' ? func : baseClone(func, true));
+ return baseIteratee(typeof func == 'function' ? func : baseClone(func, CLONE_DEEP_FLAG));
}
module.exports = iteratee;