mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
react app
This commit is contained in:
18
react-app/node_modules/lodash/internal/mapSet.js
generated
vendored
Normal file
18
react-app/node_modules/lodash/internal/mapSet.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Sets `value` to `key` of the cache.
|
||||
*
|
||||
* @private
|
||||
* @name set
|
||||
* @memberOf _.memoize.Cache
|
||||
* @param {string} key The key of the value to cache.
|
||||
* @param {*} value The value to cache.
|
||||
* @returns {Object} Returns the cache object.
|
||||
*/
|
||||
function mapSet(key, value) {
|
||||
if (key != '__proto__') {
|
||||
this.__data__[key] = value;
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
module.exports = mapSet;
|
Reference in New Issue
Block a user