diff options
| author | Arman <[email protected]> | 2018-08-02 16:50:59 -0700 |
|---|---|---|
| committer | Arman <[email protected]> | 2018-08-02 16:50:59 -0700 |
| commit | 7d5a0696ccc642db0d14aae8677ecada40bf85d1 (patch) | |
| tree | 1bbbcf2f4c4a3a733326ac2401375f8d891cb2f1 /node_modules/map-obj/index.js | |
| parent | dialog box for adding items (diff) | |
| download | launcher-7d5a0696ccc642db0d14aae8677ecada40bf85d1.tar.xz launcher-7d5a0696ccc642db0d14aae8677ecada40bf85d1.zip | |
inital commit
Diffstat (limited to 'node_modules/map-obj/index.js')
| -rw-r--r-- | node_modules/map-obj/index.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/node_modules/map-obj/index.js b/node_modules/map-obj/index.js deleted file mode 100644 index 8b7b4d6..0000000 --- a/node_modules/map-obj/index.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; -module.exports = function (obj, cb) { - var ret = {}; - var keys = Object.keys(obj); - - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - var res = cb(key, obj[key], obj); - ret[res[0]] = res[1]; - } - - return ret; -}; |