Skip to content

Commit 8e9c5c9

Browse files
committed
more kitchen sink cases
1 parent b8380aa commit 8e9c5c9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

examples/kitchen-sink/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ const sources = {
8181
},
8282

8383
SYNC_RENDERING_BEHAVIOR: () => {
84+
// 'initial value' is rendered sync into the HTML, then 123 on the next frame
8485
const stream = new BehaviorSubject('initial value').pipe(
8586
map(x => 123)
8687
);
@@ -1294,7 +1295,7 @@ const sinks = {
12941295

12951296
Confusions1: () => {
12961297
const s = new Subject().pipe(
1297-
map(() => 'should not get this')
1298+
map(() => 'it works')
12981299
);
12991300

13001301
const disabled = false;
@@ -1309,7 +1310,7 @@ const sinks = {
13091310
map(() => 'should not get this')
13101311
);
13111312

1312-
const disabled = false;
1313+
const disabled = true;
13131314
return rml`
13141315
<div>
13151316
<button rml:disabled="${disabled}" rml:debugger onclick="${s}">disabled=${disabled}</button>

0 commit comments

Comments
 (0)