projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c35dff
)
Add timers to globals section
author
Ryan Dahl
<ry@tinyclouds.org>
Fri, 1 Apr 2011 16:19:00 +0000
(09:19 -0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Fri, 1 Apr 2011 16:19:08 +0000
(09:19 -0700)
Closes GH-864.
doc/api/globals.markdown
patch
|
blob
|
history
diff --git
a/doc/api/globals.markdown
b/doc/api/globals.markdown
index
8f7758b
..
3a561a3
100644
(file)
--- a/
doc/api/globals.markdown
+++ b/
doc/api/globals.markdown
@@
-59,3
+59,10
@@
Example: running `node example.js` from `/Users/mjr`
A reference to the current module. In particular
`module.exports` is the same as the `exports` object. See `src/node.js`
for more information.
+
+### setTimeout(cb, ms)
+### clearTimeout(t)
+### setInterval(cb, ms)
+### clearInterval(t)
+
+The timer functions are global variables. See the [timers](timers.html) section.