From b1af88c57015c7545ae2f687bc273593b81d9590 Mon Sep 17 00:00:00 2001 From: Frederick Fogerty Date: Fri, 6 Nov 2015 14:15:44 +1300 Subject: [PATCH] Few typos in stateStreamMixin.js --- lib/stateStreamMixin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/stateStreamMixin.js b/lib/stateStreamMixin.js index 88a34d5..3c334a1 100644 --- a/lib/stateStreamMixin.js +++ b/lib/stateStreamMixin.js @@ -24,8 +24,8 @@ function isObservable(obj) { } /** - * A Mixin for explicitly boudn the state of a component to an RxJS Observable, - * subscrition will be disposed on unmount. + * A Mixin for explicitly bound the state of a component to an RxJS Observable, + * subscription will be disposed on unmount. * * var Timer = React.createClass({ * mixins: [StateStreamMixin], @@ -36,7 +36,7 @@ function isObservable(obj) { * }; * }); * }, - * render: function(props, state) { + * render: function() { * var secondsElapsed = this.state? this.state.secondsElapsed : 0; * return ( *
Seconds Elapsed: {secondsElapsed}