Comparing version 0.0.1 to 0.0.2
@@ -22,6 +22,4 @@ /** | ||
if(event) { // event is specified, single mode | ||
if(event) // TODO: Maybe single mode | ||
this.quevent.queue(event); | ||
return this.quevent.emit.bind(this, event); | ||
} | ||
@@ -88,3 +86,3 @@ return emitter; | ||
}; | ||
arguments.splice(1, 0, done.bind(this, cache)); | ||
arguments.push(done.bind(this, cache)); | ||
this.quevent._emit.apply(this, arguments); | ||
@@ -91,0 +89,0 @@ |
{ | ||
"name": "quevent", | ||
"description": "Pile up events and execute them later", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"author": "Jan Buschtöns <buschtoens@gmail.com>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
6167
154