Skip to content

Commit

Permalink
Merge pull request #49 from tomatau/patch-1
Browse files Browse the repository at this point in the history
stream setter returns setter not value
  • Loading branch information
paldepind committed Jul 7, 2015
2 parents ba2ae1c + fe8ae58 commit 5ce1407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ var number = flyd.stream(5);
// Get the current value of the stream.
console.log(number()); // logs 5
// Update the value of the stream.
console.log(number(7)); // logs 7
console.log(number(7));
// The stream now returns the new value.
console.log(number()); // logs 7
```
Expand Down

0 comments on commit 5ce1407

Please sign in to comment.