Browse Source

Removed deprecated events.Promise

v0.7.4-release
Micheil Smith 14 years ago
committed by Ryan Dahl
parent
commit
c1aa8ea944
  1. 8
      lib/events.js

8
lib/events.js

@ -112,10 +112,4 @@ EventEmitter.prototype.listeners = function (type) {
this._events[type] = [this._events[type]];
}
return this._events[type];
};
exports.Promise = function removed () {
throw new Error(
'Promise has been removed. See '+
'http://groups.google.com/group/nodejs/msg/0c483b891c56fea2 for more information.');
};
process.Promise = exports.Promise;
};
Loading…
Cancel
Save