parent
a0049bae8d
commit
62d48bd59d
@ -16,7 +16,7 @@ import map from 'lodash/map'
|
|||||||
const asyncMap = (collection, iteratee) => {
|
const asyncMap = (collection, iteratee) => {
|
||||||
let then
|
let then
|
||||||
if (collection != null && typeof (then = collection.then) === 'function') {
|
if (collection != null && typeof (then = collection.then) === 'function') {
|
||||||
return then.apply(collection, collection => asyncMap(collection, iteratee))
|
return then.call(collection, collection => asyncMap(collection, iteratee))
|
||||||
}
|
}
|
||||||
|
|
||||||
let errorContainer
|
let errorContainer
|
||||||
|
Loading…
Reference in New Issue
Block a user