now to move to everything being able to async process comamdns event-based distribution

This commit is contained in:
Peter Cottle 2012-12-27 14:58:25 -08:00
parent eb0458c299
commit d46728d973
3 changed files with 7 additions and 7 deletions

View file

@ -68,7 +68,7 @@ var CommandBuffer = Backbone.Model.extend({
this.setTimeout();
}, this);
// find a command with no error
// find a command with no error (aka unprocessed)
while (popped.get('error') && this.buffer.length) {
popped = this.buffer.pop();
}