mirror of https://github.com/nodejs/node.git
doc: refer to modules doc rather than src/node.js
parent
9a6f936c8a
commit
1b5048b288
|
@ -70,19 +70,23 @@ Example: running `node example.js` from `/Users/mjr`
|
||||||
### module
|
### module
|
||||||
|
|
||||||
A reference to the current module. In particular
|
A reference to the current module. In particular
|
||||||
`module.exports` is the same as the `exports` object. See `src/node.js`
|
`module.exports` is the same as the `exports` object.
|
||||||
for more information.
|
|
||||||
`module` isn't actually a global but rather local to each module.
|
`module` isn't actually a global but rather local to each module.
|
||||||
|
|
||||||
|
See the [module system documentation](modules.html) for more
|
||||||
|
information.
|
||||||
|
|
||||||
|
|
||||||
### exports
|
### exports
|
||||||
|
|
||||||
An object which is shared between all instances of the current module and
|
An object which is shared between all instances of the current module and
|
||||||
made accessible through `require()`.
|
made accessible through `require()`.
|
||||||
`exports` is the same as the `module.exports` object. See `src/node.js`
|
`exports` is the same as the `module.exports` object.
|
||||||
for more information.
|
|
||||||
`exports` isn't actually a global but rather local to each module.
|
`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)
|
### setTimeout(cb, ms)
|
||||||
### clearTimeout(t)
|
### clearTimeout(t)
|
||||||
### setInterval(cb, ms)
|
### setInterval(cb, ms)
|
||||||
|
|
Loading…
Reference in New Issue