From 1b5048b288648cd963acd8a4e247a16bc2a52cc6 Mon Sep 17 00:00:00 2001 From: isaacs Date: Thu, 23 Feb 2012 00:18:17 -0800 Subject: [PATCH] doc: refer to modules doc rather than src/node.js --- doc/api/globals.markdown | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/api/globals.markdown b/doc/api/globals.markdown index cc457a7c42..e87eee4aef 100644 --- a/doc/api/globals.markdown +++ b/doc/api/globals.markdown @@ -70,19 +70,23 @@ Example: running `node example.js` from `/Users/mjr` ### module A reference to the current module. In particular -`module.exports` is the same as the `exports` object. See `src/node.js` -for more information. +`module.exports` is the same as the `exports` object. `module` isn't actually a global but rather local to each module. +See the [module system documentation](modules.html) for more +information. + ### exports An object which is shared between all instances of the current module and made accessible through `require()`. -`exports` is the same as the `module.exports` object. See `src/node.js` -for more information. +`exports` is the same as the `module.exports` object. `exports` isn't actually a global but rather local to each module. +See the [module system documentation](modules.html) for more +information. + ### setTimeout(cb, ms) ### clearTimeout(t) ### setInterval(cb, ms)