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

Commit baca3bc

Browse files
committed
style(operators): moved displays block under code
1 parent 6e48188 commit baca3bc

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/operator-docs/filtering/distinctUntilChanged.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,11 @@ export const distinctUntilChanged: OperatorDoc = {
5959
code: `
6060
Rx.Observable.of(1, 1, 2, 2, 2, 1, 1, 2, 3, 3, 4)
6161
.distinctUntilChanged()
62-
// displays
63-
// 1, 2, 1, 2, 3, 4
6462
.subscribe(x => console.log(x));
6563
`,
6664
externalLink: {
6765
platform: 'JSBin',
68-
url: 'http://jsbin.com/begerivegu/1/embed?js,console'
66+
url: 'http://jsbin.com/poxayavuge/embed?js,console'
6967
}
7068
},
7169
{
@@ -78,15 +76,11 @@ export const distinctUntilChanged: OperatorDoc = {
7876
{ age: 6, name: 'Foo'}
7977
)
8078
.distinctUntilChanged((p, q) => p.name === q.name)
81-
// displays:
82-
// { age: 4, name: 'Foo' }
83-
// { age: 7, name: 'Bar' }
84-
// { age: 5, name: 'Foo' }
8579
.subscribe(x => console.log(x));
8680
`,
8781
externalLink: {
8882
platform: 'JSBin',
89-
url: 'http://jsbin.com/fibaxeriku/1/embed?js,console'
83+
url: 'http://jsbin.com/duhexuhoxo/embed?js,console'
9084
}
9185
}
9286
],

0 commit comments

Comments
 (0)