diff options
Diffstat (limited to 'alarm/node_modules/lodash/_baseInverter.js')
-rw-r--r-- | alarm/node_modules/lodash/_baseInverter.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/alarm/node_modules/lodash/_baseInverter.js b/alarm/node_modules/lodash/_baseInverter.js deleted file mode 100644 index fbc337f..0000000 --- a/alarm/node_modules/lodash/_baseInverter.js +++ /dev/null @@ -1,21 +0,0 @@ -var baseForOwn = require('./_baseForOwn'); - -/** - * The base implementation of `_.invert` and `_.invertBy` which inverts - * `object` with values transformed by `iteratee` and set by `setter`. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} setter The function to set `accumulator` values. - * @param {Function} iteratee The iteratee to transform values. - * @param {Object} accumulator The initial inverted object. - * @returns {Function} Returns `accumulator`. - */ -function baseInverter(object, setter, iteratee, accumulator) { - baseForOwn(object, function(value, key, object) { - setter(accumulator, iteratee(value), key, object); - }); - return accumulator; -} - -module.exports = baseInverter; |