diff options
Diffstat (limited to 'src/util.coffee')
-rw-r--r-- | src/util.coffee | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/util.coffee b/src/util.coffee deleted file mode 100644 index 4e0cd76..0000000 --- a/src/util.coffee +++ /dev/null @@ -1,13 +0,0 @@ -'use strict' - - -module.exports = - mapPromises: (promises) -> - p = [] - ret = {} - - for own k, v of promises - do (k, v) -> - p.push(v.then (r) -> ret[k] = r) - - Promise.all(p).then -> ret |