不要怂,就是干,撸起袖子干!

Commit 4e154206 by Sascha Depold

querychainer#add should return itself for chaining

1 parent 007f8ea2
Showing with 1 additions and 0 deletions
......@@ -18,6 +18,7 @@ Utils.addEventEmitter(QueryChainer)
QueryChainer.prototype.add = function(emitter) {
this.observeEmitter(emitter)
this.emitters.push(emitter)
return this
}
QueryChainer.prototype.observeEmitter = function(emitter) {
var self = this
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!