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

Documentation Corrections #516

Merged
merged 1 commit into from
Jan 22, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/gettingstarted/promises.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Because of this, we can now do a number of very interesting things such as combi
var source = Rx.Observable.range(0, 3)
.flatMap(function (x) { return Promise.resolve(x * x); });

var subscription = source1.subscribe(
var subscription = source.subscribe(
function (x) { console.log('onNext: %s', x); },
function (e) { console.log('onError: %s', e); },
function () { console.log('onCompleted'); });
Expand Down