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

Commit 85fb4d3

Browse files
author
djskinner
committed
Fix doc example for let
Made the code sample consistent with the stated output.
1 parent f5b6e86 commit 85fb4d3

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

doc/api/core/operators/let.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,6 @@ var obs = Rx.Observable.range(1, 3);
1717

1818
var source = obs.let(function (o) { return o.concat(o); });
1919

20-
var subscription = source.subscribe(
21-
function (x) {
22-
console.log('Next: ' + x);
23-
},
24-
function (err) {
25-
console.log('Error: ' + err);
26-
},
27-
function () {
28-
console.log('Completed');
29-
});
30-
3120
var subscription = source.subscribe(
3221
function (x) {
3322
console.log('Next: ' + x);

0 commit comments

Comments
 (0)