From c54913f0dbb6a260cf0faf9a3f2fb20c4426331d Mon Sep 17 00:00:00 2001 From: Andrey Fedorov Date: Mon, 5 Nov 2012 02:21:36 -0800 Subject: [PATCH] . --- js/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/events.js b/js/events.js index 09d0ce899..7a2098f98 100644 --- a/js/events.js +++ b/js/events.js @@ -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;