mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
4debb96942
commit
a6a7b16dba
@ -264,7 +264,7 @@ var CollectionActions = actions.Actions({
|
|||||||
return running[collection]
|
return running[collection]
|
||||||
}
|
}
|
||||||
|
|
||||||
return new Promise(function(resolve, reject){
|
p = running[collection] = new Promise(function(resolve, reject){
|
||||||
Promise
|
Promise
|
||||||
.all(Object.keys(handlers)
|
.all(Object.keys(handlers)
|
||||||
// filter relevant handlers...
|
// filter relevant handlers...
|
||||||
@ -280,6 +280,8 @@ var CollectionActions = actions.Actions({
|
|||||||
delete running[collection]
|
delete running[collection]
|
||||||
reject(err) })
|
reject(err) })
|
||||||
})
|
})
|
||||||
|
|
||||||
|
return p
|
||||||
}],
|
}],
|
||||||
|
|
||||||
// Collection life-cycle...
|
// Collection life-cycle...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user