cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-10-11 00:55:39 +03:00
parent aa73283a1d
commit 4c84dae3ed

View File

@ -254,7 +254,6 @@ var CollectionActions = actions.Actions({
While the promise for a specific action is not resolved this While the promise for a specific action is not resolved this
will return it and not start a new promise. will return it and not start a new promise.
`, `,
//function(collection, force){
function(collection){ function(collection){
var that = this var that = this
@ -271,8 +270,6 @@ var CollectionActions = actions.Actions({
// if a promise has not yet resolved/rejected, return it // if a promise has not yet resolved/rejected, return it
// and do not start a new one... // and do not start a new one...
// XXX do we need timeouts here????
//if(!force && running[collection]){
if(running[collection]){ if(running[collection]){
return running[collection] return running[collection]
} }
@ -298,6 +295,7 @@ var CollectionActions = actions.Actions({
return p return p
}], }],
// Collection life-cycle... // Collection life-cycle...
// //
// NOTE: if collection does not exist this will do nothing... // NOTE: if collection does not exist this will do nothing...