Skip to content

Commit

Permalink
Correct switchMap to switchMapTo in code description
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan James Spencer authored and staltz committed Oct 9, 2017
1 parent e34558b commit a31e372
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/data/transformation-examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const transformationExamples = {
return inputs[0].pluck('content')
.bufferCount(3, 2)
.map(x => `[${x}]`);
}
}
},

bufferTime: {
Expand All @@ -37,7 +37,7 @@ export const transformationExamples = {
return inputs[0].pluck('content')
.bufferTime(30, scheduler)
.map(x => `[${x}]`);
}
}
},

bufferToggle: {
Expand Down Expand Up @@ -191,7 +191,7 @@ export const transformationExamples = {
},

switchMapTo: {
label: 'obs1$.switchMap(obs2$, (x, y) => "" + x + y)',
label: 'obs1$.switchMapTo(obs2$, (x, y) => "" + x + y)',
inputs: [
[{t:0, c:'A'}, {t:42, c:'B'}, {t:55, c:'C'}],
[{t:0, c:1}, {t:10, c:2}, {t:20, c:3}, 25]
Expand Down

0 comments on commit a31e372

Please sign in to comment.