Skip to content

Commit

Permalink
docs(throttle): fix example code
Browse files Browse the repository at this point in the history
  • Loading branch information
staltz committed Oct 19, 2016
1 parent 2e41a49 commit cba84ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extra/throttle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class ThrottleOperator<T> implements Operator<T, T> {
* import fromDiagram from 'xstream/extra/fromDiagram'
* import throttle from 'xstream/extra/throttle'
*
* const stream = fromDiagram(--1-2-----3--4----5|)
* const stream = fromDiagram('--1-2-----3--4----5|')
* .compose(throttle(60))
*
* stream.addListener({
Expand Down

0 comments on commit cba84ca

Please sign in to comment.