diff options
author | isaacs <i@izs.me> | 2010-03-08 15:08:30 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-03-09 09:05:20 -0800 |
commit | b90d63b9983186a2f13a2ef7d399960f979fc486 (patch) | |
tree | 712549c14adee4aeb585266eb008428f65838ad6 | |
parent | 602d1861a1cb5ff426aa17c3d1c2ddb8423b7ac1 (diff) | |
download | node-b90d63b9983186a2f13a2ef7d399960f979fc486.tar.gz |
Change the include() message so that it doesn't recommend process.mixin.
-rw-r--r-- | src/node.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.js b/src/node.js index afc70bf88..4fcd67d5a 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."); |