From b92329667ff1f32a112e277bbb3cd6bc192c6f6d Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 11 Jan 2011 10:18:46 -0800 Subject: [PATCH] Fix spelling mistakes --- doc/api/streams.markdown | 2 +- doc/api/util.markdown | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/streams.markdown b/doc/api/streams.markdown index 354c2ce32a..c4433377a2 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 6076239658..0935860c8c 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.