mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
aa73283a1d
commit
4c84dae3ed
@ -254,7 +254,6 @@ var CollectionActions = actions.Actions({
|
||||
While the promise for a specific action is not resolved this
|
||||
will return it and not start a new promise.
|
||||
`,
|
||||
//function(collection, force){
|
||||
function(collection){
|
||||
var that = this
|
||||
|
||||
@ -271,8 +270,6 @@ var CollectionActions = actions.Actions({
|
||||
|
||||
// if a promise has not yet resolved/rejected, return it
|
||||
// and do not start a new one...
|
||||
// XXX do we need timeouts here????
|
||||
//if(!force && running[collection]){
|
||||
if(running[collection]){
|
||||
return running[collection]
|
||||
}
|
||||
@ -298,6 +295,7 @@ var CollectionActions = actions.Actions({
|
||||
return p
|
||||
}],
|
||||
|
||||
|
||||
// Collection life-cycle...
|
||||
//
|
||||
// NOTE: if collection does not exist this will do nothing...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user