diff options
author | isaacs <i@izs.me> | 2012-02-27 11:37:26 -0800 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-02-29 16:04:55 -0800 |
commit | 17db291b5cc842073471d881ef05ce9cbfaa0911 (patch) | |
tree | e53c11d14bdcfbe68b5760daf1c622f0a963ca7d /doc | |
parent | 7bfa5cf284de1f1c00dafa651bff5ea225e98825 (diff) | |
download | node-17db291b5cc842073471d881ef05ce9cbfaa0911.tar.gz |
'Events' is a module, not an event named 's'
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/events.markdown | 2 |
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`. |