Skip to content

Commit

Permalink
docs(bindNodeCallback): fix boundSomeFunction should be called
Browse files Browse the repository at this point in the history
  • Loading branch information
limerickgds committed Mar 2, 2017
1 parent d8a8d5d commit 13b8e42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/observable/BoundCallbackObservable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class BoundCallbackObservable<T> extends Observable<T> {
* });
*
* const boundSomeFunction = Rx.Observable.bindCallback(someFunction);
* boundSomeFunction.subscribe(values => {
* boundSomeFunction().subscribe(values => {
* console.log(values) // [5, 'some string', {someProperty: 'someValue'}]
* });
*
Expand All @@ -129,7 +129,7 @@ export class BoundCallbackObservable<T> extends Observable<T> {
* });
*
* const boundSomeFunction = Rx.Observable.bindCallback(someFunction, (a, b, c) => a + b + c);
* boundSomeFunction.subscribe(value => {
* boundSomeFunction().subscribe(value => {
* console.log(value) // 'abc'
* });
*
Expand Down

0 comments on commit 13b8e42

Please sign in to comment.