Remove a few old deprecation warnings
authorRyan Dahl <ry@tinyclouds.org>
Wed, 15 Sep 2010 23:17:11 +0000 (16:17 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Wed, 15 Sep 2010 23:18:54 +0000 (16:18 -0700)
src/node.js
test/simple/test-global-leak.js

index 24e3925..c3420b8 100644 (file)
@@ -13,11 +13,6 @@ function removed (reason) {
   }
 }
 
-GLOBAL.__module = removed("'__module' has been renamed to 'module'");
-GLOBAL.include = removed("include(module) has been removed. Use require(module)");
-GLOBAL.puts = removed("puts() has moved. Use require('sys') to bring it back.");
-GLOBAL.print = removed("print() has moved. Use require('sys') to bring it back.");
-GLOBAL.p = removed("p() has moved. Use require('sys') to bring it back.");
 process.debug = removed("process.debug() has moved. Use require('sys') to bring it back.");
 process.error = removed("process.error() has moved. Use require('sys') to bring it back.");
 process.watchFile = removed("process.watchFile() has moved to fs.watchFile()");
index 8406d1e..a0226ae 100644 (file)
@@ -8,11 +8,6 @@ var knownGlobals = [ setTimeout
                    , Buffer
                    , process
                    , global
-                   , __module
-                   , include
-                   , puts
-                   , print
-                   , p
                    ];
 
 for (var x in global) {