Skip to content

Commit

Permalink
Merge branch 'master' of github.com:dominictarr/event-stream
Browse files Browse the repository at this point in the history
  • Loading branch information
dominictarr committed Mar 9, 2013
2 parents 32342aa + 1abf9aa commit 588d41d
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 588d41d

Please sign in to comment.