diff options
Diffstat (limited to 'alarm/node_modules/lodash/_baseAssignValue.js')
-rw-r--r-- | alarm/node_modules/lodash/_baseAssignValue.js | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/alarm/node_modules/lodash/_baseAssignValue.js b/alarm/node_modules/lodash/_baseAssignValue.js deleted file mode 100644 index d6f66ef..0000000 --- a/alarm/node_modules/lodash/_baseAssignValue.js +++ /dev/null @@ -1,25 +0,0 @@ -var defineProperty = require('./_defineProperty'); - -/** - * The base implementation of `assignValue` and `assignMergeValue` without - * value checks. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ -function baseAssignValue(object, key, value) { - if (key == '__proto__' && defineProperty) { - defineProperty(object, key, { - 'configurable': true, - 'enumerable': true, - 'value': value, - 'writable': true - }); - } else { - object[key] = value; - } -} - -module.exports = baseAssignValue; |