Skip to content

Commit f47ad10

Browse files
committed
Remove a few old deprecation warnings
1 parent 6560ab9 commit f47ad10

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/node.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ function removed (reason) {
1313
}
1414
}
1515

16-
GLOBAL.__module = removed("'__module' has been renamed to 'module'");
17-
GLOBAL.include = removed("include(module) has been removed. Use require(module)");
18-
GLOBAL.puts = removed("puts() has moved. Use require('sys') to bring it back.");
19-
GLOBAL.print = removed("print() has moved. Use require('sys') to bring it back.");
20-
GLOBAL.p = removed("p() has moved. Use require('sys') to bring it back.");
2116
process.debug = removed("process.debug() has moved. Use require('sys') to bring it back.");
2217
process.error = removed("process.error() has moved. Use require('sys') to bring it back.");
2318
process.watchFile = removed("process.watchFile() has moved to fs.watchFile()");

test/simple/test-global-leak.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ var knownGlobals = [ setTimeout
88
, Buffer
99
, process
1010
, global
11-
, __module
12-
, include
13-
, puts
14-
, print
15-
, p
1611
];
1712

1813
for (var x in global) {

0 commit comments

Comments
 (0)