Browse Source

FIX: EventEmitter call in Promise

v0.7.4-release
Jonas Pfenniger 15 years ago
committed by Ryan Dahl
parent
commit
87d92f619a
  1. 2
      src/node.js

2
src/node.js

@ -192,7 +192,7 @@ var eventsModule = createInternalModule('events', function (exports) {
}; };
exports.Promise = function () { exports.Promise = function () {
exports.EventEmitter.call(); exports.EventEmitter.call(this);
this._blocking = false; this._blocking = false;
this.hasFired = false; this.hasFired = false;
this._values = undefined; this._values = undefined;

Loading…
Cancel
Save