Browse Source

Fix spelling mistakes

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
b92329667f
  1. 2
      doc/api/streams.markdown
  2. 4
      doc/api/util.markdown

2
doc/api/streams.markdown

@ -125,7 +125,7 @@ Emitted on error with the exception `exception`.
Emitted when the underlying file descriptor has been closed. 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'` A boolean that is `true` by default, but turns `false` after an `'error'`
occurred or `end()` / `destroy()` was called. occurred or `end()` / `destroy()` was called.

4
doc/api/util.markdown

@ -39,12 +39,12 @@ Example of inspecting all properties of the `util` object:
console.log(util.inspect(util, true, null)); console.log(util.inspect(util, true, null));
### util.pump(readableStream, writeableStream, [callback]) ### util.pump(readableStream, writableStream, [callback])
Experimental Experimental
Read the data from `readableStream` and send it to the `writableStream`. 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 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 an error as its only argument and is called when `writableStream` is closed or
when an error occurs. when an error occurs.

Loading…
Cancel
Save