From d9dc2e0709a1db5b5b6ee8fa528290cb3df749e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Geisend=C3=B6rfer?= Date: Tue, 19 Jan 2010 21:09:14 +0100 Subject: [PATCH] Fixed misnamed Promise property --- src/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.js b/src/node.js index 2bad55e9ad..9306cf81cf 100644 --- a/src/node.js +++ b/src/node.js @@ -231,7 +231,7 @@ var eventsModule = createInternalModule('events', function (exports) { exports.Promise = function () { exports.EventEmitter.call(); this._blocking = false; - this._hasFired = false; + this.hasFired = false; }; process.inherits(exports.Promise, exports.EventEmitter);