From 87d92f619a9b6c307a45e5a92ae63152e3b5b059 Mon Sep 17 00:00:00 2001 From: Jonas Pfenniger Date: Wed, 20 Jan 2010 22:04:00 +0100 Subject: [PATCH] FIX: EventEmitter call in Promise --- src/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.js b/src/node.js index 31290dddff..3062d859b6 100644 --- a/src/node.js +++ b/src/node.js @@ -192,7 +192,7 @@ var eventsModule = createInternalModule('events', function (exports) { }; exports.Promise = function () { - exports.EventEmitter.call(); + exports.EventEmitter.call(this); this._blocking = false; this.hasFired = false; this._values = undefined;