From b90d63b9983186a2f13a2ef7d399960f979fc486 Mon Sep 17 00:00:00 2001 From: isaacs Date: Mon, 8 Mar 2010 15:08:30 -0800 Subject: [PATCH] Change the include() message so that it doesn't recommend process.mixin. --- src/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.js b/src/node.js index afc70bf88f9..4fcd67d5ad5 100644 --- a/src/node.js +++ b/src/node.js @@ -13,7 +13,7 @@ function removed (reason) { } GLOBAL.__module = removed("'__module' has been renamed to 'module'"); -GLOBAL.include = removed("include(module) has been removed. Use process.mixin(GLOBAL, require(module)) to get the same effect."); +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.");