mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
Removed deprecated events.Promise
This commit is contained in:
@@ -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;
|
||||
};
|
||||
Reference in New Issue
Block a user