Browse Source

Removed deprecated events.Promise

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

6
lib/events.js

@ -113,9 +113,3 @@ EventEmitter.prototype.listeners = function (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