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

Commit 4715596

Browse files
2 parents b28eea9 + ea26a25 commit 4715596

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/gettingstarted/promises.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Because of this, we can now do a number of very interesting things such as combi
4040
var source = Rx.Observable.range(0, 3)
4141
.flatMap(function (x) { return Promise.resolve(x * x); });
4242

43-
var subscription = source1.subscribe(
43+
var subscription = source.subscribe(
4444
function (x) { console.log('onNext: %s', x); },
4545
function (e) { console.log('onError: %s', e); },
4646
function () { console.log('onCompleted'); });

0 commit comments

Comments
 (0)