Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
doc: refer to modules doc rather than src/node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Feb 23, 2012
1 parent 9a6f936 commit 1b5048b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions doc/api/globals.markdown
Expand Up @@ -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)
Expand Down

0 comments on commit 1b5048b

Please sign in to comment.