summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-01-11 10:18:46 -0800
committerRyan Dahl <ry@tinyclouds.org>2011-01-11 10:18:46 -0800
commitb92329667ff1f32a112e277bbb3cd6bc192c6f6d (patch)
treea84e7508d02a169cfd229ca958d6a426c6fceb60
parent6f5d95de6df6dad23b908fb15ad1a823b9d9a4d1 (diff)
downloadnodejs-b92329667ff1f32a112e277bbb3cd6bc192c6f6d.tar.gz
nodejs-b92329667ff1f32a112e277bbb3cd6bc192c6f6d.tar.bz2
nodejs-b92329667ff1f32a112e277bbb3cd6bc192c6f6d.zip
Fix spelling mistakes
-rw-r--r--doc/api/streams.markdown2
-rw-r--r--doc/api/util.markdown4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/streams.markdown b/doc/api/streams.markdown
index 354c2ce32..c4433377a 100644
--- a/doc/api/streams.markdown
+++ b/doc/api/streams.markdown
@@ -125,7 +125,7 @@ Emitted on error with the exception `exception`.
Emitted when the underlying file descriptor has been closed.
-### stream.writeable
+### stream.writable
A boolean that is `true` by default, but turns `false` after an `'error'`
occurred or `end()` / `destroy()` was called.
diff --git a/doc/api/util.markdown b/doc/api/util.markdown
index 607623965..0935860c8 100644
--- a/doc/api/util.markdown
+++ b/doc/api/util.markdown
@@ -39,12 +39,12 @@ Example of inspecting all properties of the `util` object:
console.log(util.inspect(util, true, null));
-### util.pump(readableStream, writeableStream, [callback])
+### util.pump(readableStream, writableStream, [callback])
Experimental
Read the data from `readableStream` and send it to the `writableStream`.
-When `writeableStream.write(data)` returns `false` `readableStream` will be
+When `writableStream.write(data)` returns `false` `readableStream` will be
paused until the `drain` event occurs on the `writableStream`. `callback` gets
an error as its only argument and is called when `writableStream` is closed or
when an error occurs.