Removed deprecated events.Promise

This commit is contained in:
Micheil Smith 2010-10-12 10:01:12 +11:00 committed by Ryan Dahl
parent ee8522996a
commit c1aa8ea944

View File

@ -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;
};