summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-02-27 11:37:26 -0800
committerisaacs <i@izs.me>2012-02-29 16:04:55 -0800
commit17db291b5cc842073471d881ef05ce9cbfaa0911 (patch)
treee53c11d14bdcfbe68b5760daf1c622f0a963ca7d /doc
parent7bfa5cf284de1f1c00dafa651bff5ea225e98825 (diff)
downloadnode-17db291b5cc842073471d881ef05ce9cbfaa0911.tar.gz
'Events' is a module, not an event named 's'
Diffstat (limited to 'doc')
-rw-r--r--doc/api/events.markdown2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/events.markdown b/doc/api/events.markdown
index af64c6227..b9000f292 100644
--- a/doc/api/events.markdown
+++ b/doc/api/events.markdown
@@ -1,5 +1,7 @@
# Events
+<!--type=module-->
+
Many objects in Node emit events: a `net.Server` emits an event each time
a peer connects to it, a `fs.readStream` emits an event when the file is
opened. All objects which emit events are instances of `events.EventEmitter`.