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

Commit 78ca359

Browse files
committed
docs(scan): edits for interactive marble diagram and link to reduce
1 parent 57bd89b commit 78ca359

File tree

1 file changed

+3
-1
lines changed
  • src/operator-docs/transformation

1 file changed

+3
-1
lines changed

src/operator-docs/transformation/scan.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export const scan: OperatorDoc = {
1818
description: 'The initial accumulation value.'
1919
}
2020
],
21+
useInteractiveMarbles: true,
2122
marbleUrl: 'http://reactivex.io/rxjs/img/scan.png',
2223
shortDescription: {
2324
description: `
@@ -31,7 +32,8 @@ export const scan: OperatorDoc = {
3132
<p>
3233
Combines together all values emitted on the source, using an accumulator
3334
function that knows how to join a new source value into the accumulation from
34-
the past. Is similar to <span class="markdown-code">reduce</span>, but emits the intermediate accumulations.
35+
the past. Is similar to <a href="/operators/reduce" class="markdown-code">reduce</a>, but emits the
36+
intermediate accumulations.
3537
</p>
3638
<p>
3739
Returns an Observable that applies a specified <span class="markdown-code">accumulator</span> function to each

0 commit comments

Comments
 (0)