From f47ad10db7ad69aa2bc4ab0d4bdb0b3ac805692b Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 15 Sep 2010 16:17:11 -0700 Subject: [PATCH] Remove a few old deprecation warnings --- src/node.js | 5 ----- test/simple/test-global-leak.js | 5 ----- 2 files changed, 10 deletions(-) diff --git a/src/node.js b/src/node.js index 24e3925e52..c3420b8839 100644 --- a/src/node.js +++ b/src/node.js @@ -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()"); diff --git a/test/simple/test-global-leak.js b/test/simple/test-global-leak.js index 8406d1efa4..a0226ae0cf 100644 --- a/test/simple/test-global-leak.js +++ b/test/simple/test-global-leak.js @@ -8,11 +8,6 @@ var knownGlobals = [ setTimeout , Buffer , process , global - , __module - , include - , puts - , print - , p ]; for (var x in global) {