Skip to content

Commit 2600261

Browse files
committed
2 parents 6e9f335 + c1f355b commit 2600261

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/stateStreamMixin.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ function isObservable(obj) {
2424
}
2525

2626
/**
27-
* A Mixin for explicitly boudn the state of a component to an RxJS Observable,
28-
* subscrition will be disposed on unmount.
27+
* A Mixin for explicitly bound the state of a component to an RxJS Observable,
28+
* subscription will be disposed on unmount.
2929
*
3030
* var Timer = React.createClass({
3131
* mixins: [StateStreamMixin],
@@ -36,7 +36,7 @@ function isObservable(obj) {
3636
* };
3737
* });
3838
* },
39-
* render: function(props, state) {
39+
* render: function() {
4040
* var secondsElapsed = this.state? this.state.secondsElapsed : 0;
4141
* return (
4242
* <div>Seconds Elapsed: {secondsElapsed}</div>

0 commit comments

Comments
 (0)