Removed deprecated events.Promise
This commit is contained in:
parent
ee8522996a
commit
c1aa8ea944
@ -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…
x
Reference in New Issue
Block a user