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}