diff options
Diffstat (limited to 'alarm/node_modules/lodash/_baseSetData.js')
-rw-r--r-- | alarm/node_modules/lodash/_baseSetData.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/alarm/node_modules/lodash/_baseSetData.js b/alarm/node_modules/lodash/_baseSetData.js deleted file mode 100644 index c409947..0000000 --- a/alarm/node_modules/lodash/_baseSetData.js +++ /dev/null @@ -1,17 +0,0 @@ -var identity = require('./identity'), - metaMap = require('./_metaMap'); - -/** - * The base implementation of `setData` without support for hot loop shorting. - * - * @private - * @param {Function} func The function to associate metadata with. - * @param {*} data The metadata. - * @returns {Function} Returns `func`. - */ -var baseSetData = !metaMap ? identity : function(func, data) { - metaMap.set(func, data); - return func; -}; - -module.exports = baseSetData; |