mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +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 new Promise(function(resolve, reject){
|
||||
p = running[collection] = new Promise(function(resolve, reject){
|
||||
Promise
|
||||
.all(Object.keys(handlers)
|
||||
// filter relevant handlers...
|
||||
@ -280,6 +280,8 @@ var CollectionActions = actions.Actions({
|
||||
delete running[collection]
|
||||
reject(err) })
|
||||
})
|
||||
|
||||
return p
|
||||
}],
|
||||
|
||||
// Collection life-cycle...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user