From 7a8ede6f8086904dbe3fad9817ba3dddb54d3273 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sun, 21 Feb 2010 15:48:43 -0800 Subject: [PATCH] Add note about Promise removal --- src/node.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/node.js b/src/node.js index 046d614769..66b9fe67e3 100644 --- a/src/node.js +++ b/src/node.js @@ -195,6 +195,9 @@ var eventsModule = createInternalModule('events', function (exports) { if (!this._events.hasOwnProperty(type)) this._events[type] = []; return this._events[type]; }; + + exports.Promise = removed('Promise has been removed. See http://groups.google.com/group/nodejs/msg/0c483b891c56fea2 for more information.'); + process.Promise = exports.Promise; }); var events = eventsModule.exports;