Browse Source

Fixed misnamed Promise property

v0.7.4-release
Felix Geisendörfer 15 years ago
committed by Ryan Dahl
parent
commit
d9dc2e0709
  1. 2
      src/node.js

2
src/node.js

@ -231,7 +231,7 @@ var eventsModule = createInternalModule('events', function (exports) {
exports.Promise = function () { exports.Promise = function () {
exports.EventEmitter.call(); exports.EventEmitter.call();
this._blocking = false; this._blocking = false;
this._hasFired = false; this.hasFired = false;
}; };
process.inherits(exports.Promise, exports.EventEmitter); process.inherits(exports.Promise, exports.EventEmitter);

Loading…
Cancel
Save