Skip to content

Commit

Permalink
Merge pull request #1996 from blesh/fix_tutorial_basics
Browse files Browse the repository at this point in the history
docs(tutorial): creating observables docs fixing typo
  • Loading branch information
jayphelps authored Oct 7, 2016
2 parents 5448f87 + c25d88c commit e800964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tutorial/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ rename('file.txt', 'else.txt').subscribe(() => console.log('Renamed!'));
## Creating observables
Externally produce new events.
```js
var myObservable = Rx.Subject.create();
var myObservable = new Rx.Subject();
myObservable.subscribe(value => console.log(value));
myObservable.next('foo');
```
Expand Down

0 comments on commit e800964

Please sign in to comment.