Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Commit

Permalink
fix(doc): wrong variable name for source in fromPromise (#1301)
Browse files Browse the repository at this point in the history
  • Loading branch information
deerawan authored and mattpodwysocki committed Oct 19, 2016
1 parent e02d60f commit 56b7a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/core/operators/frompromise.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var promiseFn = function () { return Promise.resolve(42); };

var source = Rx.Observable.fromPromise(promiseFn);

var subscription1 = source1.subscribe(
var subscription = source.subscribe(
function (x) {
console.log('Next: %s', x);
},
Expand Down

0 comments on commit 56b7a04

Please sign in to comment.