summaryrefslogtreecommitdiff
path: root/doc/api/events.markdown
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2015-08-13 12:14:34 -0400
committercjihrig <cjihrig@gmail.com>2015-08-23 17:59:43 -0400
commita69ab27ab458385d24676792b75ad1c25b8c30e5 (patch)
treeeb44f3d0affb9173c2822fbbf25aa2a8a7ae6fe2 /doc/api/events.markdown
parentae8d436623109f315229ca9cc05715af362257b0 (diff)
downloadandroid-node-v8-a69ab27ab458385d24676792b75ad1c25b8c30e5.tar.gz
android-node-v8-a69ab27ab458385d24676792b75ad1c25b8c30e5.tar.bz2
android-node-v8-a69ab27ab458385d24676792b75ad1c25b8c30e5.zip
node: rename from io.js to node
This commit replaces instances of io.js with Node.js, based on the recent convergence. There are some remaining instances of io.js, related to build and the installer. Fixes: https://github.com/nodejs/node/issues/2361 PR-URL: https://github.com/nodejs/node/pull/2367 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: João Reis <reis@janeasystems.com>
Diffstat (limited to 'doc/api/events.markdown')
-rw-r--r--doc/api/events.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/events.markdown b/doc/api/events.markdown
index de547a5b8b..0816fae24d 100644
--- a/doc/api/events.markdown
+++ b/doc/api/events.markdown
@@ -4,7 +4,7 @@
<!--type=module-->
-Many objects in io.js emit events: a `net.Server` emits an event each time
+Many objects in Node.js 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`.
You can access this module by doing: `require("events");`
@@ -28,7 +28,7 @@ var EventEmitter = require('events');
When an `EventEmitter` instance experiences an error, the typical action is
to emit an `'error'` event. Error events are treated as a special case in
-io.js. If there is no listener for it, then the default action is to print
+Node.js. If there is no listener for it, then the default action is to print
a stack trace and exit the program.
All EventEmitters emit the event `'newListener'` when new listeners are