This commit is contained in:
Andrey Fedorov
2012-11-05 02:21:36 -08:00
parent 229c03432d
commit c54913f0db

View File

@@ -48,7 +48,7 @@ EventEmitter.prototype.listeners = function (e) {
EventEmitter.prototype.once = function (e, f) {
var that = this;
this.on(e, function g() {
f.apply(es, arguments);
f.apply(e, arguments);
that.off(e, g);
});
return this;