Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
FIX: EventEmitter call in Promise
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Pfenniger authored and ry committed Jan 20, 2010
1 parent 7f652b6 commit 87d92f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.js
Expand Up @@ -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;
Expand Down

0 comments on commit 87d92f6

Please sign in to comment.