From 47b6d39eea34904063536c0fb1b1dc2ff7b57ac6 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 09d0ce89..7a2098f9 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;