Skip to content

Commit

Permalink
Fix spelling of "separator"
Browse files Browse the repository at this point in the history
corrected spelling of "separator" from "seperator" (occasionally gets me, too). 
  • Loading branch information
RubyTuesdayDONO committed Mar 8, 2013
1 parent 552f867 commit f460b48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ Example, read every line in a file ...
`split` takes the same arguments as `string.split` except it defaults to '\n' instead of ',', and the optional `limit` paremeter is ignored.
[String#split](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String/split)

## join (seperator)
## join (separator)

create a through stream that emits `seperator` between each chunk, just like Array#join.
create a through stream that emits `separator` between each chunk, just like Array#join.

(for legacy reasons, if you pass a callback instead of a string, join is a synonym for `es.wait`)

Expand All @@ -139,7 +139,7 @@ Works just like `string.split(from).join(to)`, but streaming.

## parse

Convienience function for parsing JSON chunks. For newline seperated JSON,
Convienience function for parsing JSON chunks. For newline separated JSON,
use with `es.split`

``` js
Expand Down

0 comments on commit f460b48

Please sign in to comment.