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:
dbb1a26
)
fix typo
author
Ryan Dahl
<ry@tinyclouds.org>
Tue, 8 Dec 2009 06:20:51 +0000
(07:20 +0100)
committer
Ryan Dahl
<ry@tinyclouds.org>
Tue, 8 Dec 2009 06:20:51 +0000
(07:20 +0100)
doc/api.txt
patch
|
blob
|
history
diff --git
a/doc/api.txt
b/doc/api.txt
index
5852ca8
..
527f703
100644
(file)
--- a/
doc/api.txt
+++ b/
doc/api.txt
@@
-219,7
+219,7
@@
sys.exec("ls /").addCallback(function (stdout, stderr) {
Many objects in Node emit events: a TCP server emits an event each time
there is a connection, a child process emits an event when it exits. All
-objects which emit events are
are
instances of +process.EventEmitter+.
+objects which emit events are instances of +process.EventEmitter+.
Events are represented by a camel-cased string. Here are some examples:
+"connection"+, +"receive"+, +"messageBegin"+.