perf: encode resume effects as a string

This commit is contained in:
dpiercey 2025-11-20 10:13:59 -07:00 committed by Dylan Piercey
parent 8e1a65efcc
commit 0c4154c93b
464 changed files with 1383 additions and 3021 deletions

View File

@ -0,0 +1,5 @@
---
"@marko/runtime-tags": patch
---
Encode resume effects as a string to reduce HTML bytes and fix browser compatibility issue with large effect lists.

View File

@ -19,8 +19,7 @@
}], _.a.$fooChange = _._[
"__tests__/template.marko_0/foo"
](_.a), _.b),
"__tests__/template.marko_0_foo_$fooChange",
1
"__tests__/template.marko_0_foo_$fooChange 1"
];
M._.w()
</script>
@ -53,8 +52,7 @@ container.querySelector("button").click();
}], _.a.$fooChange = _._[
"__tests__/template.marko_0/foo"
](_.a), _.b),
"__tests__/template.marko_0_foo_$fooChange",
1
"__tests__/template.marko_0_foo_$fooChange 1"
];
M._.w()
</script>
@ -92,8 +90,7 @@ container.querySelector("button").click();
}], _.a.$fooChange = _._[
"__tests__/template.marko_0/foo"
](_.a), _.b),
"__tests__/template.marko_0_foo_$fooChange",
1
"__tests__/template.marko_0_foo_$fooChange 1"
];
M._.w()
</script>
@ -131,8 +128,7 @@ container.querySelector("button").click();
}], _.a.$fooChange = _._[
"__tests__/template.marko_0/foo"
](_.a), _.b),
"__tests__/template.marko_0_foo_$fooChange",
1
"__tests__/template.marko_0_foo_$fooChange 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>0<!--M_*1 #text/1-->:<!>0<!--M_*1 #text/2--></button><!--M_*1 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={foo:0}],_.a.$fooChange=_._["__tests__/template.marko_0/foo"](_.a),_.b),"__tests__/template.marko_0_foo_$fooChange",1];M._.w()</script>
<button>0<!--M_*1 #text/1-->:<!>0<!--M_*1 #text/2--></button><!--M_*1 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={foo:0}],_.a.$fooChange=_._["__tests__/template.marko_0/foo"](_.a),_.b),"__tests__/template.marko_0_foo_$fooChange 1"];M._.w()</script>
```
# Render End
@ -24,8 +24,7 @@
}], _.a.$fooChange = _._[
"__tests__/template.marko_0/foo"
](_.a), _.b),
"__tests__/template.marko_0_foo_$fooChange",
1
"__tests__/template.marko_0_foo_$fooChange 1"
];
M._.w()
</script>

View File

@ -13,8 +13,7 @@
}, _.b], _.a.valueChange = _.b.$valueChange = _._[
"__tests__/template.marko_0/valueChange"
](_.d), _.c),
"__tests__/tags/child.marko_0_input_$valueChange",
2
"__tests__/tags/child.marko_0_input_$valueChange 2"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.c=[0,_.d={"#childScope/0":_.b={input:_.a={value:0}}},_.b],_.a.valueChange=_.b.$valueChange=_._["__tests__/template.marko_0/valueChange"](_.d),_.c),"__tests__/tags/child.marko_0_input_$valueChange",2];M._.w()</script>
<script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.c=[0,_.d={"#childScope/0":_.b={input:_.a={value:0}}},_.b],_.a.valueChange=_.b.$valueChange=_._["__tests__/template.marko_0/valueChange"](_.d),_.c),"__tests__/tags/child.marko_0_input_$valueChange 2"];M._.w()</script>
```
# Render End
@ -18,8 +18,7 @@
}, _.b], _.a.valueChange = _.b.$valueChange = _._[
"__tests__/template.marko_0/valueChange"
](_.d), _.c),
"__tests__/tags/child.marko_0_input_$valueChange",
2
"__tests__/tags/child.marko_0_input_$valueChange 2"
];
M._.w()
</script>

View File

@ -17,8 +17,7 @@
}], _.a.$fooChange = _._[
"__tests__/template.marko_0/foo"
](_.a), _.b),
"__tests__/template.marko_0_bar_$fooChange",
1
"__tests__/template.marko_0_bar_$fooChange 1"
];
M._.w()
</script>
@ -49,8 +48,7 @@ container.querySelector("button").click();
}], _.a.$fooChange = _._[
"__tests__/template.marko_0/foo"
](_.a), _.b),
"__tests__/template.marko_0_bar_$fooChange",
1
"__tests__/template.marko_0_bar_$fooChange 1"
];
M._.w()
</script>
@ -85,8 +83,7 @@ container.querySelector("button").click();
}], _.a.$fooChange = _._[
"__tests__/template.marko_0/foo"
](_.a), _.b),
"__tests__/template.marko_0_bar_$fooChange",
1
"__tests__/template.marko_0_bar_$fooChange 1"
];
M._.w()
</script>
@ -121,8 +118,7 @@ container.querySelector("button").click();
}], _.a.$fooChange = _._[
"__tests__/template.marko_0/foo"
](_.a), _.b),
"__tests__/template.marko_0_bar_$fooChange",
1
"__tests__/template.marko_0_bar_$fooChange 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>1:<!>0<!--M_*1 #text/2--></button><!--M_*1 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={bar:0}],_.a.$fooChange=_._["__tests__/template.marko_0/foo"](_.a),_.b),"__tests__/template.marko_0_bar_$fooChange",1];M._.w()</script>
<button>1:<!>0<!--M_*1 #text/2--></button><!--M_*1 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={bar:0}],_.a.$fooChange=_._["__tests__/template.marko_0/foo"](_.a),_.b),"__tests__/template.marko_0_bar_$fooChange 1"];M._.w()</script>
```
# Render End
@ -22,8 +22,7 @@
}], _.a.$fooChange = _._[
"__tests__/template.marko_0/foo"
](_.a), _.b),
"__tests__/template.marko_0_bar_$fooChange",
1
"__tests__/template.marko_0_bar_$fooChange 1"
];
M._.w()
</script>

View File

@ -14,8 +14,7 @@
{
count: 0
}]),
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -43,8 +42,7 @@ container.querySelector("button").click();
{
count: 0
}]),
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -76,8 +74,7 @@ container.querySelector("button").click();
{
count: 0
}]),
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -109,8 +106,7 @@ container.querySelector("button").click();
{
count: 0
}]),
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_count 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>0<!--M_*1 #text/1--></button><!--M_*1 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{count:0}]),"__tests__/template.marko_0_count",1];M._.w()</script>
<button>0<!--M_*1 #text/1--></button><!--M_*1 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{count:0}]),"__tests__/template.marko_0_count 1"];M._.w()</script>
```
# Render End
@ -19,8 +19,7 @@
{
count: 0
}]),
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_count 1"
];
M._.w()
</script>

View File

@ -17,10 +17,7 @@
}], _.a.resetCount = _._[
"__tests__/template.marko_0/resetCount"
](_.a), _.b),
"__tests__/template.marko_0_resetCount",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_resetCount 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -51,10 +48,7 @@ container.querySelector("button").click();
}], _.a.resetCount = _._[
"__tests__/template.marko_0/resetCount"
](_.a), _.b),
"__tests__/template.marko_0_resetCount",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_resetCount 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -89,10 +83,7 @@ container.querySelector("button").click();
}], _.a.resetCount = _._[
"__tests__/template.marko_0/resetCount"
](_.a), _.b),
"__tests__/template.marko_0_resetCount",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_resetCount 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -127,10 +118,7 @@ container.querySelector("button").click();
}], _.a.resetCount = _._[
"__tests__/template.marko_0/resetCount"
](_.a), _.b),
"__tests__/template.marko_0_resetCount",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_resetCount 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>0<!--M_*1 #text/1--></button><!--M_*1 #button/0--><button></button><!--M_*1 #button/2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={count:0}],_.a.resetCount=_._["__tests__/template.marko_0/resetCount"](_.a),_.b),"__tests__/template.marko_0_resetCount",1,"__tests__/template.marko_0_count",1];M._.w()</script>
<button>0<!--M_*1 #text/1--></button><!--M_*1 #button/0--><button></button><!--M_*1 #button/2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={count:0}],_.a.resetCount=_._["__tests__/template.marko_0/resetCount"](_.a),_.b),"__tests__/template.marko_0_resetCount 1 __tests__/template.marko_0_count 1"];M._.w()</script>
```
# Render End
@ -22,10 +22,7 @@
}], _.a.resetCount = _._[
"__tests__/template.marko_0/resetCount"
](_.a), _.b),
"__tests__/template.marko_0_resetCount",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_resetCount 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>

View File

@ -12,8 +12,7 @@
{
_: _.a
}]),
"__tests__/template.marko_1",
2
"__tests__/template.marko_1 2"
];
M._.w()
</script>
@ -38,8 +37,7 @@ container.querySelector("button").click();
{
_: _.a
}]),
"__tests__/template.marko_1",
2
"__tests__/template.marko_1 2"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button></button><!--M_*2 #button/0--><!--M_|1 #text/0 2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={},{_:_.a}]),"__tests__/template.marko_1",2];M._.w()</script>
<button></button><!--M_*2 #button/0--><!--M_|1 #text/0 2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={},{_:_.a}]),"__tests__/template.marko_1 2"];M._.w()</script>
```
# Render End
@ -17,8 +17,7 @@
{
_: _.a
}]),
"__tests__/template.marko_1",
2
"__tests__/template.marko_1 2"
];
M._.w()
</script>

View File

@ -16,8 +16,7 @@
M._.r = [_ =&gt; (_.b = [0, _.a = {}], _.a["TagVariableChange:count"] = _._[
"__tests__/template.marko_0/valueChange"
](_.a), _.b),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
M._.w()
</script>
@ -47,8 +46,7 @@ container.querySelector("button").click();
M._.r = [_ =&gt; (_.b = [0, _.a = {}], _.a["TagVariableChange:count"] = _._[
"__tests__/template.marko_0/valueChange"
](_.a), _.b),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>Before</button><!--M_*1 #button/0--><div>0<!--M_*1 #text/1--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={}],_.a["TagVariableChange:count"]=_._["__tests__/template.marko_0/valueChange"](_.a),_.b),"__tests__/template.marko_0",1];M._.w()</script>
<button>Before</button><!--M_*1 #button/0--><div>0<!--M_*1 #text/1--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={}],_.a["TagVariableChange:count"]=_._["__tests__/template.marko_0/valueChange"](_.a),_.b),"__tests__/template.marko_0 1"];M._.w()</script>
```
# Render End
@ -21,8 +21,7 @@
M._.r = [_ =&gt; (_.b = [0, _.a = {}], _.a["TagVariableChange:count"] = _._[
"__tests__/template.marko_0/valueChange"
](_.a), _.b),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
M._.w()
</script>

View File

@ -11,8 +11,7 @@
WALKER_RUNTIME("M")("_");
M._.r = [_ =&gt; (_.a = [0,
{}]),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
M._.w()
</script>
@ -37,8 +36,7 @@ container.querySelector("button").click();
WALKER_RUNTIME("M")("_");
M._.r = [_ =&gt; (_.a = [0,
{}]),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>Before</button><!--M_*1 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{}]),"__tests__/template.marko_0",1];M._.w()</script>
<button>Before</button><!--M_*1 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{}]),"__tests__/template.marko_0 1"];M._.w()</script>
```
# Render End
@ -16,8 +16,7 @@
WALKER_RUNTIME("M")("_");
M._.r = [_ =&gt; (_.a = [0,
{}]),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
M._.w()
</script>

View File

@ -76,8 +76,8 @@
{}]), _ =&gt; (_.e = [
{}]), _ =&gt; (_.f = [
{}]),
"__tests__/template.marko_0_n",
1);
"__tests__/template.marko_0_n 1"
);
M._.w()
</script>
</body>
@ -151,8 +151,8 @@ container.querySelector("button").click();
{}]), _ =&gt; (_.e = [
{}]), _ =&gt; (_.f = [
{}]),
"__tests__/template.marko_0_n",
1);
"__tests__/template.marko_0_n 1"
);
M._.w()
</script>
</body>
@ -271,8 +271,8 @@ REMOVE #document-fragment/#text1 after html/body/p4/#comment2
{}]), _ =&gt; (_.e = [
{}]), _ =&gt; (_.f = [
{}]),
"__tests__/template.marko_0_n",
1);
"__tests__/template.marko_0_n 1"
);
M._.w()
</script>
</body>

View File

@ -5,7 +5,7 @@
# Write
```html
<!--M_[-->2<!--M_*2 #text/0--><!--M_]1 #text/2 2--></p><p>2 * <!>2<!--M_*1 #text/3--> = <!--M_[-->4<!--M_*3 #text/0--><!--M_]1 #text/4 3--></p><p>3 * <!>2<!--M_*1 #text/5--> = <!--M_[-->6<!--M_*4 #text/0--><!--M_]1 #text/6 4--></p><p>4 * <!>2<!--M_*1 #text/7--> = <!--M_[-->8<!--M_*5 #text/0--><!--M_]1 #text/8 5--></p><p>5 * <!>2<!--M_*1 #text/9--> = <!--M_[-->10<!--M_*6 #text/0--><!--M_]1 #text/10 6--></p><script>M._.r.push(_=>(_.b=[{}]),_=>(_.c=[{}]),_=>(_.d=[{}]),_=>(_.e=[{}]),_=>(_.f=[{}]),"__tests__/template.marko_0_n",1);M._.w()</script>
<!--M_[-->2<!--M_*2 #text/0--><!--M_]1 #text/2 2--></p><p>2 * <!>2<!--M_*1 #text/3--> = <!--M_[-->4<!--M_*3 #text/0--><!--M_]1 #text/4 3--></p><p>3 * <!>2<!--M_*1 #text/5--> = <!--M_[-->6<!--M_*4 #text/0--><!--M_]1 #text/6 4--></p><p>4 * <!>2<!--M_*1 #text/7--> = <!--M_[-->8<!--M_*5 #text/0--><!--M_]1 #text/8 5--></p><p>5 * <!>2<!--M_*1 #text/9--> = <!--M_[-->10<!--M_*6 #text/0--><!--M_]1 #text/10 6--></p><script>M._.r.push(_=>(_.b=[{}]),_=>(_.c=[{}]),_=>(_.d=[{}]),_=>(_.e=[{}]),_=>(_.f=[{}]),"__tests__/template.marko_0_n 1");M._.w()</script>
```
# Render ASYNC
@ -130,8 +130,8 @@ INSERT html/body/p/script
{}]), _ =&gt; (_.e = [
{}]), _ =&gt; (_.f = [
{}]),
"__tests__/template.marko_0_n",
1);
"__tests__/template.marko_0_n 1"
);
M._.w()
</script>
</body>

View File

@ -56,8 +56,8 @@
<script>
M._.r.push(_ =&gt; (_.f = [2,
{}]),
"__tests__/template.marko_9",
7);
"__tests__/template.marko_9 7"
);
M._.w()
</script>
</body>
@ -126,8 +126,8 @@ container.querySelector("button").click();
<script>
M._.r.push(_ =&gt; (_.f = [2,
{}]),
"__tests__/template.marko_9",
7);
"__tests__/template.marko_9 7"
);
M._.w()
</script>
</body>

View File

@ -10,7 +10,7 @@
# Write
```html
<div>Resolved A: A Value</div><!--M_!b--><!--M_]1 #text/0 2--><!--M_[--><!--M_!^c--><!--M_!c--><!--M_]1 #text/1 3--><!--M_[--><!--M_!^d--><!--M_[--><div>Resolved C: C Value</div><button>Before</button><!--M_*7 #button/1--><!--M_]4 #text/0 7--><!--M_!d--><!--M_]1 #text/2 4--><script>M._.r.push(_=>(_.f=[2,{}]),"__tests__/template.marko_9",7);M._.w()</script>
<div>Resolved A: A Value</div><!--M_!b--><!--M_]1 #text/0 2--><!--M_[--><!--M_!^c--><!--M_!c--><!--M_]1 #text/1 3--><!--M_[--><!--M_!^d--><!--M_[--><div>Resolved C: C Value</div><button>Before</button><!--M_*7 #button/1--><!--M_]4 #text/0 7--><!--M_!d--><!--M_]1 #text/2 4--><script>M._.r.push(_=>(_.f=[2,{}]),"__tests__/template.marko_9 7");M._.w()</script>
```
# Render ASYNC
@ -159,8 +159,8 @@ INSERT html/body/script1
<script>
M._.r.push(_ =&gt; (_.f = [2,
{}]),
"__tests__/template.marko_9",
7);
"__tests__/template.marko_9 7"
);
M._.w()
</script>
</body>

View File

@ -31,8 +31,7 @@
}], _.b["#PlaceholderContent"] = _._[
"__tests__/template.marko_2_content"
](_.a), (_.d).add(_.b), _.c),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
REORDER_RUNTIME(M._);
M._.w()
@ -83,8 +82,7 @@ container.querySelector("button").click();
}], _.b["#PlaceholderContent"] = _._[
"__tests__/template.marko_2_content"
](_.a), (_.d).add(_.b), _.c),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
REORDER_RUNTIME(M._);
M._.w()
@ -128,8 +126,7 @@ container.querySelector("button").click();
}], _.b["#PlaceholderContent"] = _._[
"__tests__/template.marko_2_content"
](_.a), (_.d).add(_.b), _.c),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
REORDER_RUNTIME(M._);
M._.w()
@ -188,8 +185,7 @@ REMOVE #document-fragment/#text2 after html/body/#text
}], _.b["#PlaceholderContent"] = _._[
"__tests__/template.marko_2_content"
](_.a), (_.d).add(_.b), _.c),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
REORDER_RUNTIME(M._);
M._.w()
@ -245,8 +241,7 @@ container.querySelector("button").click();
}], _.b["#PlaceholderContent"] = _._[
"__tests__/template.marko_2_content"
](_.a), (_.d).add(_.b), _.c),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
REORDER_RUNTIME(M._);
M._.w()
@ -290,8 +285,7 @@ container.querySelector("button").click();
}], _.b["#PlaceholderContent"] = _._[
"__tests__/template.marko_2_content"
](_.a), (_.d).add(_.b), _.c),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
REORDER_RUNTIME(M._);
M._.w()
@ -350,8 +344,7 @@ REMOVE #document-fragment/#text2 after html/body/#text
}], _.b["#PlaceholderContent"] = _._[
"__tests__/template.marko_2_content"
](_.a), (_.d).add(_.b), _.c),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
REORDER_RUNTIME(M._);
M._.w()

View File

@ -1,6 +1,6 @@
# Write
```html
<button>inc</button><!--M_*1 #button/0--><!--M_[--><!--M_!^2-->LOADING...<!--M_!2--><!--M_]1 #text/1 2--><style M_>t{display:none}</style><t M_=2><!--M_#b--></t><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.c=[0,_.a={clickCount:0,"ClosureScopes:clickCount":_.d=new Set},_.b={_:_.a,"ClosureSignalIndex:clickCount":0,"#BranchAccessor":"#text/1"}],_.b["#PlaceholderContent"]=_._["__tests__/template.marko_2_content"](_.a),(_.d).add(_.b),_.c),"__tests__/template.marko_0_clickCount",1];REORDER_RUNTIME(M._);M._.w()</script>
<button>inc</button><!--M_*1 #button/0--><!--M_[--><!--M_!^2-->LOADING...<!--M_!2--><!--M_]1 #text/1 2--><style M_>t{display:none}</style><t M_=2><!--M_#b--></t><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.c=[0,_.a={clickCount:0,"ClosureScopes:clickCount":_.d=new Set},_.b={_:_.a,"ClosureSignalIndex:clickCount":0,"#BranchAccessor":"#text/1"}],_.b["#PlaceholderContent"]=_._["__tests__/template.marko_2_content"](_.a),(_.d).add(_.b),_.c),"__tests__/template.marko_0_clickCount 1"];REORDER_RUNTIME(M._);M._.w()</script>
```
# Write
@ -40,8 +40,7 @@
}], _.b["#PlaceholderContent"] = _._[
"__tests__/template.marko_2_content"
](_.a), (_.d).add(_.b), _.c),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
REORDER_RUNTIME(M._);
M._.w()
@ -106,8 +105,7 @@ INSERT html/body/script
}], _.b["#PlaceholderContent"] = _._[
"__tests__/template.marko_2_content"
](_.a), (_.d).add(_.b), _.c),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
REORDER_RUNTIME(M._);
M._.w()

View File

@ -23,8 +23,7 @@
}
}, _.a,
{}]),
"__tests__/template.marko_0_x",
1
"__tests__/template.marko_0_x 1"
];
M._.w()
</script>
@ -62,8 +61,7 @@ container.querySelector("button").click();
}
}, _.a,
{}]),
"__tests__/template.marko_0_x",
1
"__tests__/template.marko_0_x 1"
];
M._.w()
</script>
@ -106,8 +104,7 @@ container.querySelector("button").click();
}
}, _.a,
{}]),
"__tests__/template.marko_0_x",
1
"__tests__/template.marko_0_x 1"
];
M._.w()
</script>
@ -145,8 +142,7 @@ container.querySelector("button").click();
}
}, _.a,
{}]),
"__tests__/template.marko_0_x",
1
"__tests__/template.marko_0_x 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<!--M_[-->y: <!>1<!--M_*3 #text/0--><!--M_]2 #text/0 3--><button>Toggle</button><!--M_*1 #button/1--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,{x:!0,"#childScope/0":_.a={"ConditionalRenderer:#text/0":"__tests__/template.marko_1_content"}},_.a,{}]),"__tests__/template.marko_0_x",1];M._.w()</script>
<!--M_[-->y: <!>1<!--M_*3 #text/0--><!--M_]2 #text/0 3--><button>Toggle</button><!--M_*1 #button/1--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,{x:!0,"#childScope/0":_.a={"ConditionalRenderer:#text/0":"__tests__/template.marko_1_content"}},_.a,{}]),"__tests__/template.marko_0_x 1"];M._.w()</script>
```
# Render End
@ -28,8 +28,7 @@
}
}, _.a,
{}]),
"__tests__/template.marko_0_x",
1
"__tests__/template.marko_0_x 1"
];
M._.w()
</script>

View File

@ -187,20 +187,7 @@
](_.s), _.m.content = _._[
"__tests__/template.marko_4_content"
](_.s), _.r),
"__tests__/tags/hello/index.marko_1_item",
3, 5, 7,
"__tests__/tags/hello/index.marko_3_row",
11, 13,
"__tests__/tags/hello/index.marko_2_col",
9,
"__tests__/tags/hello/index.marko_3_row",
17, 19,
"__tests__/tags/hello/index.marko_2_col",
15,
"__tests__/tags/hello/index.marko_3_row",
23,
"__tests__/tags/hello/index.marko_2_col",
21
"__tests__/tags/hello/index.marko_1_item 3 5 7 __tests__/tags/hello/index.marko_3_row 11 13 __tests__/tags/hello/index.marko_2_col 9 __tests__/tags/hello/index.marko_3_row 17 19 __tests__/tags/hello/index.marko_2_col 15 __tests__/tags/hello/index.marko_3_row 23 __tests__/tags/hello/index.marko_2_col 21"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<div class=item style=color:red>foo</div><!--M_*3 #div/0--><div class=item style=color:blue>bar</div><!--M_*5 #div/0--><div class=item style=color:green>bar</div><!--M_*7 #div/0--><div class=col x=0 row="[object Object]"></div><!--M_*9 #div/0--><div class=row row=a>a<!--M_*12 #text/0--></div><!--M_*11 #div/0--><div class=row row=b>b<!--M_*14 #text/0--></div><!--M_*13 #div/0--><div class=col x=1 row="[object Object]"></div><!--M_*15 #div/0--><div class=row row=c>c<!--M_*18 #text/0--></div><!--M_*17 #div/0--><div class=row row=d>d<!--M_*20 #text/0--></div><!--M_*19 #div/0--><div class=col outside row="[object Object]"></div><!--M_*21 #div/0--><div class=row row=-1>Outside</div><!--M_*23 #div/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.r=[0,2,{item:_.a={style:{color:"red"},content:_.s={},*[(_.b=[,_.c={style:{color:"blue"}},_.d={style:{color:"green"}}],Symbol.iterator)](){yield*_.b}}},1,{item:_.c},1,{item:_.d},1,{col:_.i={x:0,row:_.e={row:"a",*[(_.f=[,_.g={row:"b"}],Symbol.iterator)](){yield*_.f}},*[(_.h=[,_.o={x:1,row:_.j={row:"c",*[(_.k=[,_.l={row:"d"}],Symbol.iterator)](){yield*_.k}}},_.q={outside:!0,row:_.m={row:-1,*[Symbol.iterator](){yield this}}}],Symbol.iterator)](){yield*_.h}}},1,_.n={},{},{row:_.g},{},{col:_.o},1,_.p={},{},{row:_.l},{},{col:_.q},1,{row:_.m}],_.b[0]=_.a,_.f[0]=_.n.row=_.e,_.h[0]=_.i,_.k[0]=_.p.row=_.j,_.a.content=_._["__tests__/template.marko_1_content"](_.s),_.c.content=_._["__tests__/template.marko_2_content"](_.s),_.d.content=_._["__tests__/template.marko_2_content"](_.s),_.e.content=_._["__tests__/template.marko_3_content"](_.s),_.g.content=_._["__tests__/template.marko_3_content"](_.s),_.j.content=_._["__tests__/template.marko_3_content"](_.s),_.l.content=_._["__tests__/template.marko_3_content"](_.s),_.m.content=_._["__tests__/template.marko_4_content"](_.s),_.r),"__tests__/tags/hello/index.marko_1_item",3,5,7,"__tests__/tags/hello/index.marko_3_row",11,13,"__tests__/tags/hello/index.marko_2_col",9,"__tests__/tags/hello/index.marko_3_row",17,19,"__tests__/tags/hello/index.marko_2_col",15,"__tests__/tags/hello/index.marko_3_row",23,"__tests__/tags/hello/index.marko_2_col",21];M._.w()</script>
<div class=item style=color:red>foo</div><!--M_*3 #div/0--><div class=item style=color:blue>bar</div><!--M_*5 #div/0--><div class=item style=color:green>bar</div><!--M_*7 #div/0--><div class=col x=0 row="[object Object]"></div><!--M_*9 #div/0--><div class=row row=a>a<!--M_*12 #text/0--></div><!--M_*11 #div/0--><div class=row row=b>b<!--M_*14 #text/0--></div><!--M_*13 #div/0--><div class=col x=1 row="[object Object]"></div><!--M_*15 #div/0--><div class=row row=c>c<!--M_*18 #text/0--></div><!--M_*17 #div/0--><div class=row row=d>d<!--M_*20 #text/0--></div><!--M_*19 #div/0--><div class=col outside row="[object Object]"></div><!--M_*21 #div/0--><div class=row row=-1>Outside</div><!--M_*23 #div/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.r=[0,2,{item:_.a={style:{color:"red"},content:_.s={},*[(_.b=[,_.c={style:{color:"blue"}},_.d={style:{color:"green"}}],Symbol.iterator)](){yield*_.b}}},1,{item:_.c},1,{item:_.d},1,{col:_.i={x:0,row:_.e={row:"a",*[(_.f=[,_.g={row:"b"}],Symbol.iterator)](){yield*_.f}},*[(_.h=[,_.o={x:1,row:_.j={row:"c",*[(_.k=[,_.l={row:"d"}],Symbol.iterator)](){yield*_.k}}},_.q={outside:!0,row:_.m={row:-1,*[Symbol.iterator](){yield this}}}],Symbol.iterator)](){yield*_.h}}},1,_.n={},{},{row:_.g},{},{col:_.o},1,_.p={},{},{row:_.l},{},{col:_.q},1,{row:_.m}],_.b[0]=_.a,_.f[0]=_.n.row=_.e,_.h[0]=_.i,_.k[0]=_.p.row=_.j,_.a.content=_._["__tests__/template.marko_1_content"](_.s),_.c.content=_._["__tests__/template.marko_2_content"](_.s),_.d.content=_._["__tests__/template.marko_2_content"](_.s),_.e.content=_._["__tests__/template.marko_3_content"](_.s),_.g.content=_._["__tests__/template.marko_3_content"](_.s),_.j.content=_._["__tests__/template.marko_3_content"](_.s),_.l.content=_._["__tests__/template.marko_3_content"](_.s),_.m.content=_._["__tests__/template.marko_4_content"](_.s),_.r),"__tests__/tags/hello/index.marko_1_item 3 5 7 __tests__/tags/hello/index.marko_3_row 11 13 __tests__/tags/hello/index.marko_2_col 9 __tests__/tags/hello/index.marko_3_row 17 19 __tests__/tags/hello/index.marko_2_col 15 __tests__/tags/hello/index.marko_3_row 23 __tests__/tags/hello/index.marko_2_col 21"];M._.w()</script>
```
# Render End
@ -192,20 +192,7 @@
](_.s), _.m.content = _._[
"__tests__/template.marko_4_content"
](_.s), _.r),
"__tests__/tags/hello/index.marko_1_item",
3, 5, 7,
"__tests__/tags/hello/index.marko_3_row",
11, 13,
"__tests__/tags/hello/index.marko_2_col",
9,
"__tests__/tags/hello/index.marko_3_row",
17, 19,
"__tests__/tags/hello/index.marko_2_col",
15,
"__tests__/tags/hello/index.marko_3_row",
23,
"__tests__/tags/hello/index.marko_2_col",
21
"__tests__/tags/hello/index.marko_1_item 3 5 7 __tests__/tags/hello/index.marko_3_row 11 13 __tests__/tags/hello/index.marko_2_col 9 __tests__/tags/hello/index.marko_3_row 17 19 __tests__/tags/hello/index.marko_2_col 15 __tests__/tags/hello/index.marko_3_row 23 __tests__/tags/hello/index.marko_2_col 21"
];
M._.w()
</script>

View File

@ -34,8 +34,7 @@
_: _.a,
"ClosureSignalIndex:mult": 0
}], (_.c).add(_.d), _.c.add(_.e), _.c.add(_.f), _.b),
"__tests__/template.marko_0_mult",
1
"__tests__/template.marko_0_mult 1"
];
M._.w()
</script>
@ -83,8 +82,7 @@ container.querySelector("button").click();
_: _.a,
"ClosureSignalIndex:mult": 0
}], (_.c).add(_.d), _.c.add(_.e), _.c.add(_.f), _.b),
"__tests__/template.marko_0_mult",
1
"__tests__/template.marko_0_mult 1"
];
M._.w()
</script>
@ -139,8 +137,7 @@ container.querySelector("button").click();
_: _.a,
"ClosureSignalIndex:mult": 0
}], (_.c).add(_.d), _.c.add(_.e), _.c.add(_.f), _.b),
"__tests__/template.marko_0_mult",
1
"__tests__/template.marko_0_mult 1"
];
M._.w()
</script>
@ -195,8 +192,7 @@ container.querySelector("button").click();
_: _.a,
"ClosureSignalIndex:mult": 0
}], (_.c).add(_.d), _.c.add(_.e), _.c.add(_.f), _.b),
"__tests__/template.marko_0_mult",
1
"__tests__/template.marko_0_mult 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
2<!--M_*4 #text/0-->4<!--M_*6 #text/0-->6<!--M_*8 #text/0--><button>Multiplier: <!>2<!--M_*1 #text/2--></button><!--M_*1 #button/1--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={mult:2,"ClosureScopes:mult":_.c=new Set},2,_.d={item:1,_:_.a,"ClosureSignalIndex:mult":0},1,_.e={item:2,_:_.a,"ClosureSignalIndex:mult":0},1,_.f={item:3,_:_.a,"ClosureSignalIndex:mult":0}],(_.c).add(_.d),_.c.add(_.e),_.c.add(_.f),_.b),"__tests__/template.marko_0_mult",1];M._.w()</script>
2<!--M_*4 #text/0-->4<!--M_*6 #text/0-->6<!--M_*8 #text/0--><button>Multiplier: <!>2<!--M_*1 #text/2--></button><!--M_*1 #button/1--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={mult:2,"ClosureScopes:mult":_.c=new Set},2,_.d={item:1,_:_.a,"ClosureSignalIndex:mult":0},1,_.e={item:2,_:_.a,"ClosureSignalIndex:mult":0},1,_.f={item:3,_:_.a,"ClosureSignalIndex:mult":0}],(_.c).add(_.d),_.c.add(_.e),_.c.add(_.f),_.b),"__tests__/template.marko_0_mult 1"];M._.w()</script>
```
# Render End
@ -39,8 +39,7 @@
_: _.a,
"ClosureSignalIndex:mult": 0
}], (_.c).add(_.d), _.c.add(_.e), _.c.add(_.f), _.b),
"__tests__/template.marko_0_mult",
1
"__tests__/template.marko_0_mult 1"
];
M._.w()
</script>

View File

@ -18,8 +18,7 @@
{
disabled: !0
}]),
"__tests__/template.marko_0_disabled",
1
"__tests__/template.marko_0_disabled 1"
];
M._.w()
</script>
@ -49,8 +48,7 @@ container.querySelector("button").click();
{
disabled: !0
}]),
"__tests__/template.marko_0_disabled",
1
"__tests__/template.marko_0_disabled 1"
];
M._.w()
</script>
@ -87,8 +85,7 @@ container.querySelector("button").click();
{
disabled: !0
}]),
"__tests__/template.marko_0_disabled",
1
"__tests__/template.marko_0_disabled 1"
];
M._.w()
</script>
@ -123,8 +120,7 @@ container.querySelector("button").click();
{
disabled: !0
}]),
"__tests__/template.marko_0_disabled",
1
"__tests__/template.marko_0_disabled 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<input disabled><!--M_*1 #input/0--><button>enable<!--M_*1 #text/2--></button><!--M_*1 #button/1--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{disabled:!0}]),"__tests__/template.marko_0_disabled",1];M._.w()</script>
<input disabled><!--M_*1 #input/0--><button>enable<!--M_*1 #text/2--></button><!--M_*1 #button/1--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{disabled:!0}]),"__tests__/template.marko_0_disabled 1"];M._.w()</script>
```
# Render End
@ -23,8 +23,7 @@
{
disabled: !0
}]),
"__tests__/template.marko_0_disabled",
1
"__tests__/template.marko_0_disabled 1"
];
M._.w()
</script>

View File

@ -23,8 +23,7 @@
}], _.a["#PlaceholderContent"] = _._[
"__tests__/template.marko_3_content"
](_.c), _.b),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
REORDER_RUNTIME(M._);
M._.w()
@ -37,8 +36,8 @@
M._.j.b = _ =&gt;
{
_.push(
"__tests__/template.marko_4",
5)
"__tests__/template.marko_4 5"
)
};
M._.w()
</script>

View File

@ -1,11 +1,11 @@
# Write
```html
<div id=outside>Pass</div><!--M_[--><!--M_[--><!--M_!^3-->loading...<!--M_!3--><!--M_]2 #text/0 3--><!--M_]1 #text/0 2--><style M_>t{display:none}</style><t M_=3><!--M_#b--></t><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,{},_.c={},_.a={"#BranchAccessor":"#text/0"}],_.a["#PlaceholderContent"]=_._["__tests__/template.marko_3_content"](_.c),_.b),"__tests__/template.marko_0",1];REORDER_RUNTIME(M._);M._.w()</script>
<div id=outside>Pass</div><!--M_[--><!--M_[--><!--M_!^3-->loading...<!--M_!3--><!--M_]2 #text/0 3--><!--M_]1 #text/0 2--><style M_>t{display:none}</style><t M_=3><!--M_#b--></t><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,{},_.c={},_.a={"#BranchAccessor":"#text/0"}],_.a["#PlaceholderContent"]=_._["__tests__/template.marko_3_content"](_.c),_.b),"__tests__/template.marko_0 1"];REORDER_RUNTIME(M._);M._.w()</script>
```
# Write
```html
<t M_=b></t><script>M._.r.push(_=>(_.d=[1,{"#ClosestBranchId":2}]));M._.j.b=_=>{_.push("__tests__/template.marko_4",5)};M._.w()</script>
<t M_=b></t><script>M._.r.push(_=>(_.d=[1,{"#ClosestBranchId":2}]));M._.j.b=_=>{_.push("__tests__/template.marko_4 5")};M._.w()</script>
```
# Render ASYNC
@ -39,8 +39,7 @@
}], _.a["#PlaceholderContent"] = _._[
"__tests__/template.marko_3_content"
](_.c), _.b),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
REORDER_RUNTIME(M._);
M._.w()
@ -101,8 +100,7 @@ INSERT html/body/script
}], _.a["#PlaceholderContent"] = _._[
"__tests__/template.marko_3_content"
](_.c), _.b),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
REORDER_RUNTIME(M._);
M._.w()
@ -115,8 +113,8 @@ INSERT html/body/script
M._.j.b = _ =&gt;
{
_.push(
"__tests__/template.marko_4",
5)
"__tests__/template.marko_4 5"
)
};
M._.w()
</script>

View File

@ -51,8 +51,8 @@
_: _.b,
"ClosureSignalIndex:count": 1
}], _.d.add(_.i), _.h),
"__tests__/template.marko_0_count",
1);
"__tests__/template.marko_0_count 1"
);
M._.w()
</script>
</body>
@ -116,8 +116,8 @@ container.querySelector("button").click();
_: _.b,
"ClosureSignalIndex:count": 1
}], _.d.add(_.i), _.h),
"__tests__/template.marko_0_count",
1);
"__tests__/template.marko_0_count 1"
);
M._.w()
</script>
</body>
@ -187,8 +187,8 @@ container.querySelector("button").click();
_: _.b,
"ClosureSignalIndex:count": 1
}], _.d.add(_.i), _.h),
"__tests__/template.marko_0_count",
1);
"__tests__/template.marko_0_count 1"
);
M._.w()
</script>
</body>
@ -258,8 +258,8 @@ container.querySelector("button").click();
_: _.b,
"ClosureSignalIndex:count": 1
}], _.d.add(_.i), _.h),
"__tests__/template.marko_0_count",
1);
"__tests__/template.marko_0_count 1"
);
M._.w()
</script>
</body>

View File

@ -10,7 +10,7 @@
# Write
```html
<!--M_[-->Got: b <!>0<!--M_*4 #text/1--><!--M_]1 #text/1 4--><!--M_[-->Got: c <!>0<!--M_*3 #text/1--><!--M_]1 #text/2 3--><button>Inc</button><!--M_*1 #button/3--></div><script>M._.r.push(_=>(_.h=[_.i={_:_.b,"ClosureSignalIndex:count":1}],_.d.add(_.i),_.h),"__tests__/template.marko_0_count",1);M._.w()</script>
<!--M_[-->Got: b <!>0<!--M_*4 #text/1--><!--M_]1 #text/1 4--><!--M_[-->Got: c <!>0<!--M_*3 #text/1--><!--M_]1 #text/2 3--><button>Inc</button><!--M_*1 #button/3--></div><script>M._.r.push(_=>(_.h=[_.i={_:_.b,"ClosureSignalIndex:count":1}],_.d.add(_.i),_.h),"__tests__/template.marko_0_count 1");M._.w()</script>
```
# Render ASYNC
@ -151,8 +151,8 @@ INSERT html/body/div/script1
_: _.b,
"ClosureSignalIndex:count": 1
}], _.d.add(_.i), _.h),
"__tests__/template.marko_0_count",
1);
"__tests__/template.marko_0_count 1"
);
M._.w()
</script>
</body>

View File

@ -31,8 +31,7 @@
}], _.b["#PlaceholderContent"] = _._[
"__tests__/template.marko_2_content"
](_.a), (_.d).add(_.b), _.c),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
REORDER_RUNTIME(M._);
M._.w()
@ -45,10 +44,8 @@
M._.j.b = _ =&gt;
{
_.push(
"__tests__/template.marko_3",
4,
"__tests__/template.marko_3_value",
4)
"__tests__/template.marko_3 4 __tests__/template.marko_3_value 4"
)
};
M._.w()
</script>
@ -93,8 +90,7 @@
}], _.b["#PlaceholderContent"] = _._[
"__tests__/template.marko_2_content"
](_.a), (_.d).add(_.b), _.c),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
REORDER_RUNTIME(M._);
M._.w()
@ -107,10 +103,8 @@
M._.j.b = _ =&gt;
{
_.push(
"__tests__/template.marko_3",
4,
"__tests__/template.marko_3_value",
4)
"__tests__/template.marko_3 4 __tests__/template.marko_3_value 4"
)
};
M._.w()
</script>

View File

@ -1,11 +1,11 @@
# Write
```html
<div id=outside>0<!--M_*1 #text/0--></div><!--M_[--><!--M_!^2-->loading...<!--M_!2--><!--M_]1 #text/1 2--><style M_>t{display:none}</style><t M_=2><!--M_#b--></t><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.c=[0,_.a={"ClosureScopes:value":_.d=new Set},_.b={_:_.a,"ClosureSignalIndex:value":0,"#BranchAccessor":"#text/1"}],_.b["#PlaceholderContent"]=_._["__tests__/template.marko_2_content"](_.a),(_.d).add(_.b),_.c),"__tests__/template.marko_0",1];REORDER_RUNTIME(M._);M._.w()</script>
<div id=outside>0<!--M_*1 #text/0--></div><!--M_[--><!--M_!^2-->loading...<!--M_!2--><!--M_]1 #text/1 2--><style M_>t{display:none}</style><t M_=2><!--M_#b--></t><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.c=[0,_.a={"ClosureScopes:value":_.d=new Set},_.b={_:_.a,"ClosureSignalIndex:value":0,"#BranchAccessor":"#text/1"}],_.b["#PlaceholderContent"]=_._["__tests__/template.marko_2_content"](_.a),(_.d).add(_.b),_.c),"__tests__/template.marko_0 1"];REORDER_RUNTIME(M._);M._.w()</script>
```
# Write
```html
<t M_=b><!--M_[--><div id=inside>0<!--M_*4 #text/0--></div><!--M_]2 #text/0 4--></t><script>M._.r.push(_=>(_.e=[1,{value:0}]));M._.j.b=_=>{_.push("__tests__/template.marko_3",4,"__tests__/template.marko_3_value",4)};M._.w()</script>
<t M_=b><!--M_[--><div id=inside>0<!--M_*4 #text/0--></div><!--M_]2 #text/0 4--></t><script>M._.r.push(_=>(_.e=[1,{value:0}]));M._.j.b=_=>{_.push("__tests__/template.marko_3 4 __tests__/template.marko_3_value 4")};M._.w()</script>
```
# Render ASYNC
@ -41,8 +41,7 @@
}], _.b["#PlaceholderContent"] = _._[
"__tests__/template.marko_2_content"
](_.a), (_.d).add(_.b), _.c),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
REORDER_RUNTIME(M._);
M._.w()
@ -112,8 +111,7 @@ INSERT html/body/script
}], _.b["#PlaceholderContent"] = _._[
"__tests__/template.marko_2_content"
](_.a), (_.d).add(_.b), _.c),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
REORDER_RUNTIME(M._);
M._.w()
@ -126,10 +124,8 @@ INSERT html/body/script
M._.j.b = _ =&gt;
{
_.push(
"__tests__/template.marko_3",
4,
"__tests__/template.marko_3_value",
4)
"__tests__/template.marko_3 4 __tests__/template.marko_3_value 4"
)
};
M._.w()
</script>

View File

@ -16,8 +16,7 @@
}, _.a], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.c), _.b),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>
@ -47,8 +46,7 @@ container.querySelector("button").click();
}, _.a], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.c), _.b),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>0<!--M_*2 #text/1--></button><!--M_*2 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.c={clickCount:0,"#childScope/0":_.a={}},_.a],_.a.onClick=_._["__tests__/template.marko_0/onClick"](_.c),_.b),"__tests__/tags/my-button.marko_0_onClick",2];M._.w()</script>
<button>0<!--M_*2 #text/1--></button><!--M_*2 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.c={clickCount:0,"#childScope/0":_.a={}},_.a],_.a.onClick=_._["__tests__/template.marko_0/onClick"](_.c),_.b),"__tests__/tags/my-button.marko_0_onClick 2"];M._.w()</script>
```
# Render End
@ -21,8 +21,7 @@
}, _.a], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.c), _.b),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>

View File

@ -16,8 +16,7 @@
}, _.a], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.c), _.b),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>
@ -47,8 +46,7 @@ container.querySelector("button").click();
}, _.a], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.c), _.b),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>
@ -82,8 +80,7 @@ container.querySelector("button").click();
}, _.a], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.c), _.b),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>0<!--M_*2 #text/1--></button><!--M_*2 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.c={clickCount:0,"#childScope/0":_.a={}},_.a],_.a.onClick=_._["__tests__/template.marko_0/onClick"](_.c),_.b),"__tests__/tags/my-button.marko_0_onClick",2];M._.w()</script>
<button>0<!--M_*2 #text/1--></button><!--M_*2 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.c={clickCount:0,"#childScope/0":_.a={}},_.a],_.a.onClick=_._["__tests__/template.marko_0/onClick"](_.c),_.b),"__tests__/tags/my-button.marko_0_onClick 2"];M._.w()</script>
```
# Render End
@ -21,8 +21,7 @@
}, _.a], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.c), _.b),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>

View File

@ -32,8 +32,7 @@
](_.d), _.b.onClick = _._[
"__tests__/template.marko_0/onClick2"
](_.d), _.c),
"__tests__/tags/my-button.marko_0_onClick",
2, 3
"__tests__/tags/my-button.marko_0_onClick 2 3"
];
M._.w()
</script>
@ -79,8 +78,7 @@ container.querySelector("button").click();
](_.d), _.b.onClick = _._[
"__tests__/template.marko_0/onClick2"
](_.d), _.c),
"__tests__/tags/my-button.marko_0_onClick",
2, 3
"__tests__/tags/my-button.marko_0_onClick 2 3"
];
M._.w()
</script>
@ -133,8 +131,7 @@ container.querySelector("button").click();
](_.d), _.b.onClick = _._[
"__tests__/template.marko_0/onClick2"
](_.d), _.c),
"__tests__/tags/my-button.marko_0_onClick",
2, 3
"__tests__/tags/my-button.marko_0_onClick 2 3"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>0<!--M_*2 #text/1--> <!>0<!--M_*2 #text/2--></button><!--M_*2 #button/0--><button>0<!--M_*3 #text/1--> <!>0<!--M_*3 #text/2--></button><!--M_*3 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.c=[0,_.d={clickCount:0,"#childScope/0":_.a={},"#childScope/1":_.b={}},_.a,_.b],_.a.onClick=_._["__tests__/template.marko_0/onClick"](_.d),_.b.onClick=_._["__tests__/template.marko_0/onClick2"](_.d),_.c),"__tests__/tags/my-button.marko_0_onClick",2,3];M._.w()</script>
<button>0<!--M_*2 #text/1--> <!>0<!--M_*2 #text/2--></button><!--M_*2 #button/0--><button>0<!--M_*3 #text/1--> <!>0<!--M_*3 #text/2--></button><!--M_*3 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.c=[0,_.d={clickCount:0,"#childScope/0":_.a={},"#childScope/1":_.b={}},_.a,_.b],_.a.onClick=_._["__tests__/template.marko_0/onClick"](_.d),_.b.onClick=_._["__tests__/template.marko_0/onClick2"](_.d),_.c),"__tests__/tags/my-button.marko_0_onClick 2 3"];M._.w()</script>
```
# Render End
@ -37,8 +37,7 @@
](_.d), _.b.onClick = _._[
"__tests__/template.marko_0/onClick2"
](_.d), _.c),
"__tests__/tags/my-button.marko_0_onClick",
2, 3
"__tests__/tags/my-button.marko_0_onClick 2 3"
];
M._.w()
</script>

View File

@ -20,8 +20,7 @@
}, _.a], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.c), _.b),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>
@ -55,8 +54,7 @@ container.querySelector("button").click();
}, _.a], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.c), _.b),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>
@ -95,8 +93,7 @@ container.querySelector("button").click();
}, _.a], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.c), _.b),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>0<!--M_*2 #text/1--> <!>0<!--M_*2 #text/2--></button><!--M_*2 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.c={clickCount:0,"#childScope/0":_.a={}},_.a],_.a.onClick=_._["__tests__/template.marko_0/onClick"](_.c),_.b),"__tests__/tags/my-button.marko_0_onClick",2];M._.w()</script>
<button>0<!--M_*2 #text/1--> <!>0<!--M_*2 #text/2--></button><!--M_*2 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.c={clickCount:0,"#childScope/0":_.a={}},_.a],_.a.onClick=_._["__tests__/template.marko_0/onClick"](_.c),_.b),"__tests__/tags/my-button.marko_0_onClick 2"];M._.w()</script>
```
# Render End
@ -25,8 +25,7 @@
}, _.a], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.c), _.b),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>

View File

@ -16,8 +16,7 @@
}, _.a], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.c), _.b),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>
@ -47,8 +46,7 @@ container.querySelector("button").click();
}, _.a], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.c), _.b),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>
@ -82,8 +80,7 @@ container.querySelector("button").click();
}, _.a], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.c), _.b),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>0<!--M_*2 #text/1--></button><!--M_*2 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.c={clickCount:0,"#childScope/0":_.a={}},_.a],_.a.onClick=_._["__tests__/template.marko_0/onClick"](_.c),_.b),"__tests__/tags/my-button.marko_0_onClick",2];M._.w()</script>
<button>0<!--M_*2 #text/1--></button><!--M_*2 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.c={clickCount:0,"#childScope/0":_.a={}},_.a],_.a.onClick=_._["__tests__/template.marko_0/onClick"](_.c),_.b),"__tests__/tags/my-button.marko_0_onClick 2"];M._.w()</script>
```
# Render End
@ -21,8 +21,7 @@
}, _.a], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.c), _.b),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>

View File

@ -20,8 +20,7 @@
}], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.b), (_.d).add(_.e), _.c),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>
@ -55,8 +54,7 @@ container.querySelector("button").click();
}], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.b), (_.d).add(_.e), _.c),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>
@ -94,8 +92,7 @@ container.querySelector("button").click();
}], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.b), (_.d).add(_.e), _.c),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>
@ -133,8 +130,7 @@ container.querySelector("button").click();
}], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.b), (_.d).add(_.e), _.c),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>0<!--M_*3 #text/0--></button><!--M_*2 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.c=[0,_.b={clickCount:0,"ClosureScopes:clickCount":_.d=new Set,"#childScope/0":_.a={}},_.a,_.e={_:_.b,"ClosureSignalIndex:clickCount":0}],_.a.onClick=_._["__tests__/template.marko_0/onClick"](_.b),(_.d).add(_.e),_.c),"__tests__/tags/my-button.marko_0_onClick",2];M._.w()</script>
<button>0<!--M_*3 #text/0--></button><!--M_*2 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.c=[0,_.b={clickCount:0,"ClosureScopes:clickCount":_.d=new Set,"#childScope/0":_.a={}},_.a,_.e={_:_.b,"ClosureSignalIndex:clickCount":0}],_.a.onClick=_._["__tests__/template.marko_0/onClick"](_.b),(_.d).add(_.e),_.c),"__tests__/tags/my-button.marko_0_onClick 2"];M._.w()</script>
```
# Render End
@ -25,8 +25,7 @@
}], _.a.onClick = _._[
"__tests__/template.marko_0/onClick"
](_.b), (_.d).add(_.e), _.c),
"__tests__/tags/my-button.marko_0_onClick",
2
"__tests__/tags/my-button.marko_0_onClick 2"
];
M._.w()
</script>

View File

@ -16,8 +16,7 @@
{
clickCount: 0
}]),
"__tests__/tags/counter.marko_0_clickCount",
2
"__tests__/tags/counter.marko_0_clickCount 2"
];
M._.w()
</script>
@ -47,8 +46,7 @@ container.querySelector("button").click();
{
clickCount: 0
}]),
"__tests__/tags/counter.marko_0_clickCount",
2
"__tests__/tags/counter.marko_0_clickCount 2"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<div><button>0<!--M_*2 #text/1--></button><!--M_*2 #button/0--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,1,{clickCount:0}]),"__tests__/tags/counter.marko_0_clickCount",2];M._.w()</script>
<div><button>0<!--M_*2 #text/1--></button><!--M_*2 #button/0--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,1,{clickCount:0}]),"__tests__/tags/counter.marko_0_clickCount 2"];M._.w()</script>
```
# Render End
@ -21,8 +21,7 @@
{
clickCount: 0
}]),
"__tests__/tags/counter.marko_0_clickCount",
2
"__tests__/tags/counter.marko_0_clickCount 2"
];
M._.w()
</script>

View File

@ -26,10 +26,7 @@
{
_: _.a
}]),
"__tests__/template.marko_0_show",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_show 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -73,10 +70,7 @@ container.querySelector("button.inc").click();
{
_: _.a
}]),
"__tests__/template.marko_0_show",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_show 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -115,10 +109,7 @@ container.querySelector("button.toggle").click();
{
_: _.a
}]),
"__tests__/template.marko_0_show",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_show 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -164,10 +155,7 @@ container.querySelector("button.inc").click();
{
_: _.a
}]),
"__tests__/template.marko_0_show",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_show 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -202,10 +190,7 @@ container.querySelector("button.toggle").click();
{
_: _.a
}]),
"__tests__/template.marko_0_show",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_show 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -246,10 +231,7 @@ container.querySelector("button.inc").click();
{
_: _.a
}]),
"__tests__/template.marko_0_show",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_show 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button class=inc></button><!--M_*1 #button/0--><button class=toggle></button><!--M_*1 #button/1--><!--M_[-->The count is <!>0<!--M_*2 #text/0--><!--M_]1 #text/2 2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={show:!0,count:0},{_:_.a}]),"__tests__/template.marko_0_show",1,"__tests__/template.marko_0_count",1];M._.w()</script>
<button class=inc></button><!--M_*1 #button/0--><button class=toggle></button><!--M_*1 #button/1--><!--M_[-->The count is <!>0<!--M_*2 #text/0--><!--M_]1 #text/2 2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={show:!0,count:0},{_:_.a}]),"__tests__/template.marko_0_show 1 __tests__/template.marko_0_count 1"];M._.w()</script>
```
# Render End
@ -31,10 +31,7 @@
{
_: _.a
}]),
"__tests__/template.marko_0_show",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_show 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>

View File

@ -25,10 +25,7 @@
{
_: _.a
}]),
"__tests__/template.marko_0_show",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_show 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -67,10 +64,7 @@ container.querySelector("button.inc").click();
{
_: _.a
}]),
"__tests__/template.marko_0_show",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_show 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -109,10 +103,7 @@ container.querySelector("button.toggle").click();
{
_: _.a
}]),
"__tests__/template.marko_0_show",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_show 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -153,10 +144,7 @@ container.querySelector("button.inc").click();
{
_: _.a
}]),
"__tests__/template.marko_0_show",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_show 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -193,10 +181,7 @@ container.querySelector("button.toggle").click();
{
_: _.a
}]),
"__tests__/template.marko_0_show",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_show 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -239,10 +224,7 @@ container.querySelector("button.inc").click();
{
_: _.a
}]),
"__tests__/template.marko_0_show",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_show 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button class=inc></button><!--M_*1 #button/0--><button class=toggle></button><!--M_*1 #button/1--><span>0<!--M_*2 #text/0--></span><!--M_|1 #text/2 2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={show:!0,count:0},{_:_.a}]),"__tests__/template.marko_0_show",1,"__tests__/template.marko_0_count",1];M._.w()</script>
<button class=inc></button><!--M_*1 #button/0--><button class=toggle></button><!--M_*1 #button/1--><span>0<!--M_*2 #text/0--></span><!--M_|1 #text/2 2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={show:!0,count:0},{_:_.a}]),"__tests__/template.marko_0_show 1 __tests__/template.marko_0_count 1"];M._.w()</script>
```
# Render End
@ -30,10 +30,7 @@
{
_: _.a
}]),
"__tests__/template.marko_0_show",
1,
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_show 1 __tests__/template.marko_0_count 1"
];
M._.w()
</script>

View File

@ -15,8 +15,7 @@
}], _.a.increment = _._[
"__tests__/template.marko_0/increment"
](_.a), _.b),
"__tests__/template.marko_0_increment",
1
"__tests__/template.marko_0_increment 1"
];
M._.w()
</script>
@ -45,8 +44,7 @@ container.querySelector("button").click();
}], _.a.increment = _._[
"__tests__/template.marko_0/increment"
](_.a), _.b),
"__tests__/template.marko_0_increment",
1
"__tests__/template.marko_0_increment 1"
];
M._.w()
</script>
@ -79,8 +77,7 @@ container.querySelector("button").click();
}], _.a.increment = _._[
"__tests__/template.marko_0/increment"
](_.a), _.b),
"__tests__/template.marko_0_increment",
1
"__tests__/template.marko_0_increment 1"
];
M._.w()
</script>
@ -113,8 +110,7 @@ container.querySelector("button").click();
}], _.a.increment = _._[
"__tests__/template.marko_0/increment"
](_.a), _.b),
"__tests__/template.marko_0_increment",
1
"__tests__/template.marko_0_increment 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>0<!--M_*1 #text/1--></button><!--M_*1 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={clickCount:0}],_.a.increment=_._["__tests__/template.marko_0/increment"](_.a),_.b),"__tests__/template.marko_0_increment",1];M._.w()</script>
<button>0<!--M_*1 #text/1--></button><!--M_*1 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={clickCount:0}],_.a.increment=_._["__tests__/template.marko_0/increment"](_.a),_.b),"__tests__/template.marko_0_increment 1"];M._.w()</script>
```
# Render End
@ -20,8 +20,7 @@
}], _.a.increment = _._[
"__tests__/template.marko_0/increment"
](_.a), _.b),
"__tests__/template.marko_0_increment",
1
"__tests__/template.marko_0_increment 1"
];
M._.w()
</script>

View File

@ -30,10 +30,7 @@
count: 0,
multiplier: 1
}]),
"__tests__/template.marko_0_count",
1,
"__tests__/template.marko_0_multiplier",
1
"__tests__/template.marko_0_count 1 __tests__/template.marko_0_multiplier 1"
];
M._.w()
</script>
@ -77,10 +74,7 @@ container.querySelector("button#count").click();
count: 0,
multiplier: 1
}]),
"__tests__/template.marko_0_count",
1,
"__tests__/template.marko_0_multiplier",
1
"__tests__/template.marko_0_count 1 __tests__/template.marko_0_multiplier 1"
];
M._.w()
</script>
@ -128,10 +122,7 @@ container.querySelector("button#count").click();
count: 0,
multiplier: 1
}]),
"__tests__/template.marko_0_count",
1,
"__tests__/template.marko_0_multiplier",
1
"__tests__/template.marko_0_count 1 __tests__/template.marko_0_multiplier 1"
];
M._.w()
</script>
@ -179,10 +170,7 @@ container.querySelector("button#multiplier").click();
count: 0,
multiplier: 1
}]),
"__tests__/template.marko_0_count",
1,
"__tests__/template.marko_0_multiplier",
1
"__tests__/template.marko_0_count 1 __tests__/template.marko_0_multiplier 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button id=multiplier>increase multiplier (<!>1<!--M_*1 #text/1-->)</button><!--M_*1 #button/0--><button id=count>increase count</button><!--M_*1 #button/2--><div>0<!--M_*1 #text/3--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{count:0,multiplier:1}]),"__tests__/template.marko_0_count",1,"__tests__/template.marko_0_multiplier",1];M._.w()</script>
<button id=multiplier>increase multiplier (<!>1<!--M_*1 #text/1-->)</button><!--M_*1 #button/0--><button id=count>increase count</button><!--M_*1 #button/2--><div>0<!--M_*1 #text/3--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{count:0,multiplier:1}]),"__tests__/template.marko_0_count 1 __tests__/template.marko_0_multiplier 1"];M._.w()</script>
```
# Render End
@ -35,10 +35,7 @@
count: 0,
multiplier: 1
}]),
"__tests__/template.marko_0_count",
1,
"__tests__/template.marko_0_multiplier",
1
"__tests__/template.marko_0_count 1 __tests__/template.marko_0_multiplier 1"
];
M._.w()
</script>

View File

@ -16,8 +16,7 @@
{
clickCount: 0
}]),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
M._.w()
</script>
@ -47,8 +46,7 @@ container.querySelector("button").click();
{
clickCount: 0
}]),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
M._.w()
</script>
@ -82,8 +80,7 @@ container.querySelector("button").click();
{
clickCount: 0
}]),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
M._.w()
</script>
@ -117,8 +114,7 @@ container.querySelector("button").click();
{
clickCount: 0
}]),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<div><button>0<!--M_*1 #text/1--></button><!--M_*1 #button/0--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{clickCount:0}]),"__tests__/template.marko_0_clickCount",1];M._.w()</script>
<div><button>0<!--M_*1 #text/1--></button><!--M_*1 #button/0--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{clickCount:0}]),"__tests__/template.marko_0_clickCount 1"];M._.w()</script>
```
# Render End
@ -21,8 +21,7 @@
{
clickCount: 0
}]),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
M._.w()
</script>

View File

@ -5,8 +5,7 @@
<script>
WALKER_RUNTIME("M")("_");
M._.r = [
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<script>WALKER_RUNTIME("M")("_");M._.r=["__tests__/template.marko_0",1];M._.w()</script>
<script>WALKER_RUNTIME("M")("_");M._.r=["__tests__/template.marko_0 1"];M._.w()</script>
```
# Render End
@ -10,8 +10,7 @@
<script>
WALKER_RUNTIME("M")("_");
M._.r = [
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
M._.w()
</script>

View File

@ -18,8 +18,7 @@
{
_: _.a
}]),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
M._.w()
</script>
@ -50,8 +49,7 @@ container.querySelector("button").click();
{
_: _.a
}]),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>hide</button><!--M_*1 #button/0-->hi<!--M_*2 #text/0--><!--M_|1 #text/1 2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={message_text:"hi"},{_:_.a}]),"__tests__/template.marko_0",1];M._.w()</script>
<button>hide</button><!--M_*1 #button/0-->hi<!--M_*2 #text/0--><!--M_|1 #text/1 2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={message_text:"hi"},{_:_.a}]),"__tests__/template.marko_0 1"];M._.w()</script>
```
# Render End
@ -23,8 +23,7 @@
{
_: _.a
}]),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
M._.w()
</script>

View File

@ -14,8 +14,7 @@
{
count: 0
}]),
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -43,8 +42,7 @@ container.querySelector("button").click();
{
count: 0
}]),
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -76,8 +74,7 @@ container.querySelector("button").click();
{
count: 0
}]),
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_count 1"
];
M._.w()
</script>
@ -109,8 +106,7 @@ container.querySelector("button").click();
{
count: 0
}]),
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_count 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>0<!--M_*1 #text/1--></button><!--M_*1 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{count:0}]),"__tests__/template.marko_0_count",1];M._.w()</script>
<button>0<!--M_*1 #text/1--></button><!--M_*1 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{count:0}]),"__tests__/template.marko_0_count 1"];M._.w()</script>
```
# Render End
@ -19,8 +19,7 @@
{
count: 0
}]),
"__tests__/template.marko_0_count",
1
"__tests__/template.marko_0_count 1"
];
M._.w()
</script>

View File

@ -15,8 +15,7 @@
a: [0],
b: 1
}]),
"__tests__/template.marko_0_a_b",
1
"__tests__/template.marko_0_a_b 1"
];
M._.w()
</script>
@ -45,8 +44,7 @@ container.querySelector("button").click();
a: [0],
b: 1
}]),
"__tests__/template.marko_0_a_b",
1
"__tests__/template.marko_0_a_b 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>0<!--M_*1 #text/1--></button><!--M_*1 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{a:[0],b:1}]),"__tests__/template.marko_0_a_b",1];M._.w()</script>
<button>0<!--M_*1 #text/1--></button><!--M_*1 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{a:[0],b:1}]),"__tests__/template.marko_0_a_b 1"];M._.w()</script>
```
# Render End
@ -20,8 +20,7 @@
a: [0],
b: 1
}]),
"__tests__/template.marko_0_a_b",
1
"__tests__/template.marko_0_a_b 1"
];
M._.w()
</script>

View File

@ -12,8 +12,7 @@
WALKER_RUNTIME("M")("_");
M._.r = [_ =&gt; (_.a = [0,
{}]),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
M._.w()
</script>
@ -39,8 +38,7 @@ container.querySelector("button").click();
WALKER_RUNTIME("M")("_");
M._.r = [_ =&gt; (_.a = [0,
{}]),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>0<!--M_*1 #text/1--></button><!--M_*1 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{}]),"__tests__/template.marko_0",1];M._.w()</script>
<button>0<!--M_*1 #text/1--></button><!--M_*1 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{}]),"__tests__/template.marko_0 1"];M._.w()</script>
```
# Render End
@ -17,8 +17,7 @@
WALKER_RUNTIME("M")("_");
M._.r = [_ =&gt; (_.a = [0,
{}]),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
M._.w()
</script>

View File

@ -59,8 +59,7 @@
{
open: !0
}]),
"__tests__/tags/comments.marko_1_open",
6, 3, 7
"__tests__/tags/comments.marko_1_open 6 3 7"
];
M._.w()
</script>
@ -133,8 +132,7 @@ container.querySelector(`#c-${id} > button`).click();
{
open: !0
}]),
"__tests__/tags/comments.marko_1_open",
6, 3, 7
"__tests__/tags/comments.marko_1_open 6 3 7"
];
M._.w()
</script>
@ -211,8 +209,7 @@ container.querySelector(`#c-${id} > button`).click();
{
open: !0
}]),
"__tests__/tags/comments.marko_1_open",
6, 3, 7
"__tests__/tags/comments.marko_1_open 6 3 7"
];
M._.w()
</script>
@ -290,8 +287,7 @@ container.querySelector(`#c-${id} > button`).click();
{
open: !0
}]),
"__tests__/tags/comments.marko_1_open",
6, 3, 7
"__tests__/tags/comments.marko_1_open 6 3 7"
];
M._.w()
</script>
@ -370,8 +366,7 @@ container.querySelector(`#c-${id} > button`).click();
{
open: !0
}]),
"__tests__/tags/comments.marko_1_open",
6, 3, 7
"__tests__/tags/comments.marko_1_open 6 3 7"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<ul><li id=c-0><span>Hello World</span><button>[-]<!--M_*3 #text/3--></button><!--M_*3 #button/2--><ul><li id=c-0-0><span>testing 123</span><button>[-]<!--M_*6 #text/3--></button><!--M_*6 #button/2--></li><!--M_*6 #li/0--></ul></li><!--M_*3 #li/0--><li id=c-1><span>Goodbye World</span><button>[-]<!--M_*7 #text/3--></button><!--M_*7 #button/2--></li><!--M_*7 #li/0--></ul><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,2,{open:!0},2,{open:!0},{open:!0}]),"__tests__/tags/comments.marko_1_open",6,3,7];M._.w()</script>
<ul><li id=c-0><span>Hello World</span><button>[-]<!--M_*3 #text/3--></button><!--M_*3 #button/2--><ul><li id=c-0-0><span>testing 123</span><button>[-]<!--M_*6 #text/3--></button><!--M_*6 #button/2--></li><!--M_*6 #li/0--></ul></li><!--M_*3 #li/0--><li id=c-1><span>Goodbye World</span><button>[-]<!--M_*7 #text/3--></button><!--M_*7 #button/2--></li><!--M_*7 #li/0--></ul><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,2,{open:!0},2,{open:!0},{open:!0}]),"__tests__/tags/comments.marko_1_open 6 3 7"];M._.w()</script>
```
# Render End
@ -63,8 +63,7 @@
{
open: !0
}]),
"__tests__/tags/comments.marko_1_open",
6, 3, 7
"__tests__/tags/comments.marko_1_open 6 3 7"
];
M._.w()
</script>

View File

@ -22,8 +22,7 @@
items: ["a", "b", "c"],
index: 0
}]),
"__tests__/template.marko_0_items_index",
1
"__tests__/template.marko_0_items_index 1"
];
M._.w()
</script>
@ -59,8 +58,7 @@ container.querySelector("button").click();
items: ["a", "b", "c"],
index: 0
}]),
"__tests__/template.marko_0_items_index",
1
"__tests__/template.marko_0_items_index 1"
];
M._.w()
</script>
@ -101,8 +99,7 @@ container.querySelector("button").click();
items: ["a", "b", "c"],
index: 0
}]),
"__tests__/template.marko_0_items_index",
1
"__tests__/template.marko_0_items_index 1"
];
M._.w()
</script>
@ -142,8 +139,7 @@ container.querySelector("button").click();
items: ["a", "b", "c"],
index: 0
}]),
"__tests__/template.marko_0_items_index",
1
"__tests__/template.marko_0_items_index 1"
];
M._.w()
</script>
@ -184,8 +180,7 @@ container.querySelector("button").click();
items: ["a", "b", "c"],
index: 0
}]),
"__tests__/template.marko_0_items_index",
1
"__tests__/template.marko_0_items_index 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<div>a<!--M_*1 #text/0--></div><div>a<!--M_*1 #text/1--></div><button>Update</button><!--M_*1 #button/2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{items:["a","b","c"],index:0}]),"__tests__/template.marko_0_items_index",1];M._.w()</script>
<div>a<!--M_*1 #text/0--></div><div>a<!--M_*1 #text/1--></div><button>Update</button><!--M_*1 #button/2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{items:["a","b","c"],index:0}]),"__tests__/template.marko_0_items_index 1"];M._.w()</script>
```
# Render End
@ -27,8 +27,7 @@
items: ["a", "b", "c"],
index: 0
}]),
"__tests__/template.marko_0_items_index",
1
"__tests__/template.marko_0_items_index 1"
];
M._.w()
</script>

View File

@ -21,8 +21,7 @@
{
index: -1
}]),
"__tests__/template.marko_0_index",
1
"__tests__/template.marko_0_index 1"
];
M._.w()
</script>
@ -57,8 +56,7 @@ container.querySelector("button").click();
{
index: -1
}]),
"__tests__/template.marko_0_index",
1
"__tests__/template.marko_0_index 1"
];
M._.w()
</script>
@ -98,8 +96,7 @@ container.querySelector("button").click();
{
index: -1
}]),
"__tests__/template.marko_0_index",
1
"__tests__/template.marko_0_index 1"
];
M._.w()
</script>
@ -139,8 +136,7 @@ container.querySelector("button").click();
{
index: -1
}]),
"__tests__/template.marko_0_index",
1
"__tests__/template.marko_0_index 1"
];
M._.w()
</script>
@ -180,8 +176,7 @@ container.querySelector("button").click();
{
index: -1
}]),
"__tests__/template.marko_0_index",
1
"__tests__/template.marko_0_index 1"
];
M._.w()
</script>
@ -221,8 +216,7 @@ container.querySelector("button").click();
{
index: -1
}]),
"__tests__/template.marko_0_index",
1
"__tests__/template.marko_0_index 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<div>&zwj;<!--M_*1 #text/0--></div><div>&zwj;<!--M_*1 #text/1--></div><button>Update</button><!--M_*1 #button/2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{index:-1}]),"__tests__/template.marko_0_index",1];M._.w()</script>
<div>&zwj;<!--M_*1 #text/0--></div><div>&zwj;<!--M_*1 #text/1--></div><button>Update</button><!--M_*1 #button/2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{index:-1}]),"__tests__/template.marko_0_index 1"];M._.w()</script>
```
# Render End
@ -26,8 +26,7 @@
{
index: -1
}]),
"__tests__/template.marko_0_index",
1
"__tests__/template.marko_0_index 1"
];
M._.w()
</script>

View File

@ -15,8 +15,7 @@
WALKER_RUNTIME("M")("_");
M._.r = [_ =&gt; (_.a = [0,
{}]),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
M._.w()
</script>
@ -49,8 +48,7 @@ container.querySelector("button").click();
WALKER_RUNTIME("M")("_");
M._.r = [_ =&gt; (_.a = [0,
{}]),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<div></div><!--M_*1 #div/0--><div></div><!--M_*1 #div/1--><button>Click</button><!--M_*1 #button/2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{}]),"__tests__/template.marko_0",1];M._.w()</script>
<div></div><!--M_*1 #div/0--><div></div><!--M_*1 #div/1--><button>Click</button><!--M_*1 #button/2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{}]),"__tests__/template.marko_0 1"];M._.w()</script>
```
# Render End
@ -20,8 +20,7 @@
WALKER_RUNTIME("M")("_");
M._.r = [_ =&gt; (_.a = [0,
{}]),
"__tests__/template.marko_0",
1
"__tests__/template.marko_0 1"
];
M._.w()
</script>

View File

@ -55,8 +55,7 @@
_: _.e,
"#childScope/0": _.g = {}
}, _.g]),
"__tests__/template.marko_0_items",
1
"__tests__/template.marko_0_items 1"
];
M._.w()
</script>
@ -147,8 +146,7 @@ container.querySelector("button").click();
_: _.e,
"#childScope/0": _.g = {}
}, _.g]),
"__tests__/template.marko_0_items",
1
"__tests__/template.marko_0_items 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>Push</button><!--M_*1 #button/0--><!--M_[--><div>0.0<!--M_*4 #text/0--></div><div>0.1<!--M_*6 #text/0--></div><!--M_|2 #text/0 5 3--><!--M_[2--><div>1.0<!--M_*9 #text/0--></div><div>1.1<!--M_*11 #text/0--></div><!--M_|7 #text/0 10 8--><!--M_]1 #text/1 7--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.h=[0,_.a={items:[0,1]},_.b={outer:0,_:_.a},{_:_.b,"#childScope/0":_.c={}},_.c,{_:_.b,"#childScope/0":_.d={}},_.d,_.e={outer:1,_:_.a},{_:_.e,"#childScope/0":_.f={}},_.f,{_:_.e,"#childScope/0":_.g={}},_.g]),"__tests__/template.marko_0_items",1];M._.w()</script>
<button>Push</button><!--M_*1 #button/0--><!--M_[--><div>0.0<!--M_*4 #text/0--></div><div>0.1<!--M_*6 #text/0--></div><!--M_|2 #text/0 5 3--><!--M_[2--><div>1.0<!--M_*9 #text/0--></div><div>1.1<!--M_*11 #text/0--></div><!--M_|7 #text/0 10 8--><!--M_]1 #text/1 7--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.h=[0,_.a={items:[0,1]},_.b={outer:0,_:_.a},{_:_.b,"#childScope/0":_.c={}},_.c,{_:_.b,"#childScope/0":_.d={}},_.d,_.e={outer:1,_:_.a},{_:_.e,"#childScope/0":_.f={}},_.f,{_:_.e,"#childScope/0":_.g={}},_.g]),"__tests__/template.marko_0_items 1"];M._.w()</script>
```
# Render End
@ -60,8 +60,7 @@
_: _.e,
"#childScope/0": _.g = {}
}, _.g]),
"__tests__/template.marko_0_items",
1
"__tests__/template.marko_0_items 1"
];
M._.w()
</script>

View File

@ -37,8 +37,7 @@
}], _.a.content = _._[
"__tests__/template.marko_1_content"
](_.b), (_.e).add(_.f), _.d),
"__tests__/template.marko_0_x",
1
"__tests__/template.marko_0_x 1"
];
M._.w()
</script>
@ -93,8 +92,7 @@ container.querySelector("button").click();
}], _.a.content = _._[
"__tests__/template.marko_1_content"
](_.b), (_.e).add(_.f), _.d),
"__tests__/template.marko_0_x",
1
"__tests__/template.marko_0_x 1"
];
M._.w()
</script>
@ -149,8 +147,7 @@ container.querySelector("button").click();
}], _.a.content = _._[
"__tests__/template.marko_1_content"
](_.b), (_.e).add(_.f), _.d),
"__tests__/template.marko_0_x",
1
"__tests__/template.marko_0_x 1"
];
M._.w()
</script>
@ -205,8 +202,7 @@ container.querySelector("button").click();
}], _.a.content = _._[
"__tests__/template.marko_1_content"
](_.b), (_.e).add(_.f), _.d),
"__tests__/template.marko_0_x",
1
"__tests__/template.marko_0_x 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>Inc</button><!--M_*1 #button/0--><div><!--M_[--><div><div>1<!--M_*5 #text/0-->.2</div></div><!--M_]2 #text/0 3--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.d=[0,_.b={x:1,y:2,"#childScope/1":_.a={"ConditionalRenderer:#text/0":"__tests__/template.marko_1_content"}},_.a,_.c={outer:1,_:_.b,"ClosureScopes:outer":_.e=new Set},1,_.f={_:_.c,"ClosureSignalIndex:outer":0,"#ClosestBranchId":3}],_.a.content=_._["__tests__/template.marko_1_content"](_.b),(_.e).add(_.f),_.d),"__tests__/template.marko_0_x",1];M._.w()</script>
<button>Inc</button><!--M_*1 #button/0--><div><!--M_[--><div><div>1<!--M_*5 #text/0-->.2</div></div><!--M_]2 #text/0 3--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.d=[0,_.b={x:1,y:2,"#childScope/1":_.a={"ConditionalRenderer:#text/0":"__tests__/template.marko_1_content"}},_.a,_.c={outer:1,_:_.b,"ClosureScopes:outer":_.e=new Set},1,_.f={_:_.c,"ClosureSignalIndex:outer":0,"#ClosestBranchId":3}],_.a.content=_._["__tests__/template.marko_1_content"](_.b),(_.e).add(_.f),_.d),"__tests__/template.marko_0_x 1"];M._.w()</script>
```
# Render End
@ -42,8 +42,7 @@
}], _.a.content = _._[
"__tests__/template.marko_1_content"
](_.b), (_.e).add(_.f), _.d),
"__tests__/template.marko_0_x",
1
"__tests__/template.marko_0_x 1"
];
M._.w()
</script>

View File

@ -17,8 +17,7 @@
_: _.a,
"ClosureSignalIndex:count": 0
}], (_.c).add(_.d), _.b),
"__tests__/template.marko_1_count",
3
"__tests__/template.marko_1_count 3"
];
M._.w()
</script>
@ -49,8 +48,7 @@ container.querySelector("button").click();
_: _.a,
"ClosureSignalIndex:count": 0
}], (_.c).add(_.d), _.b),
"__tests__/template.marko_1_count",
3
"__tests__/template.marko_1_count 3"
];
M._.w()
</script>
@ -85,8 +83,7 @@ container.querySelector("button").click();
_: _.a,
"ClosureSignalIndex:count": 0
}], (_.c).add(_.d), _.b),
"__tests__/template.marko_1_count",
3
"__tests__/template.marko_1_count 3"
];
M._.w()
</script>
@ -121,8 +118,7 @@ container.querySelector("button").click();
_: _.a,
"ClosureSignalIndex:count": 0
}], (_.c).add(_.d), _.b),
"__tests__/template.marko_1_count",
3
"__tests__/template.marko_1_count 3"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>0<!--M_*3 #text/1--></button><!--M_*3 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={count:0,"ClosureScopes:count":_.c=new Set},1,_.d={_:_.a,"ClosureSignalIndex:count":0}],(_.c).add(_.d),_.b),"__tests__/template.marko_1_count",3];M._.w()</script>
<button>0<!--M_*3 #text/1--></button><!--M_*3 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={count:0,"ClosureScopes:count":_.c=new Set},1,_.d={_:_.a,"ClosureSignalIndex:count":0}],(_.c).add(_.d),_.b),"__tests__/template.marko_1_count 3"];M._.w()</script>
```
# Render End
@ -22,8 +22,7 @@
_: _.a,
"ClosureSignalIndex:count": 0
}], (_.c).add(_.d), _.b),
"__tests__/template.marko_1_count",
3
"__tests__/template.marko_1_count 3"
];
M._.w()
</script>

View File

@ -17,8 +17,7 @@
_: _.a,
"ClosureSignalIndex:count": 0
}], (_.c).add(_.d), _.b),
"__tests__/template.marko_1_count",
3
"__tests__/template.marko_1_count 3"
];
M._.w()
</script>
@ -49,8 +48,7 @@ container.querySelector("button").click();
_: _.a,
"ClosureSignalIndex:count": 0
}], (_.c).add(_.d), _.b),
"__tests__/template.marko_1_count",
3
"__tests__/template.marko_1_count 3"
];
M._.w()
</script>
@ -85,8 +83,7 @@ container.querySelector("button").click();
_: _.a,
"ClosureSignalIndex:count": 0
}], (_.c).add(_.d), _.b),
"__tests__/template.marko_1_count",
3
"__tests__/template.marko_1_count 3"
];
M._.w()
</script>
@ -121,8 +118,7 @@ container.querySelector("button").click();
_: _.a,
"ClosureSignalIndex:count": 0
}], (_.c).add(_.d), _.b),
"__tests__/template.marko_1_count",
3
"__tests__/template.marko_1_count 3"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>0<!--M_*3 #text/1--></button><!--M_*3 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={count:0,"ClosureScopes:count":_.c=new Set},1,_.d={_:_.a,"ClosureSignalIndex:count":0}],(_.c).add(_.d),_.b),"__tests__/template.marko_1_count",3];M._.w()</script>
<button>0<!--M_*3 #text/1--></button><!--M_*3 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={count:0,"ClosureScopes:count":_.c=new Set},1,_.d={_:_.a,"ClosureSignalIndex:count":0}],(_.c).add(_.d),_.b),"__tests__/template.marko_1_count 3"];M._.w()</script>
```
# Render End
@ -22,8 +22,7 @@
_: _.a,
"ClosureSignalIndex:count": 0
}], (_.c).add(_.d), _.b),
"__tests__/template.marko_1_count",
3
"__tests__/template.marko_1_count 3"
];
M._.w()
</script>

View File

@ -82,8 +82,7 @@
}, _.b, _.c, _.d, _.e, _.f, _.g, _.h, _.i, _.j, _.k, _.l, _.m], _.b
._ = _.c._ = _.d._ = _.e._ = _.f._ = _.g._ = _.h._ = _.i._ = _.j._ =
_.k._ = _.l._ = _.m._ = _.a, _.n),
"__tests__/template.marko_1_num",
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
"__tests__/template.marko_1_num 2 3 4 5 6 7 8 9 10 11 12 13"
];
M._.w()
</script>
@ -192,8 +191,7 @@ click(c, 2);
}, _.b, _.c, _.d, _.e, _.f, _.g, _.h, _.i, _.j, _.k, _.l, _.m], _.b
._ = _.c._ = _.d._ = _.e._ = _.f._ = _.g._ = _.h._ = _.i._ = _.j._ =
_.k._ = _.l._ = _.m._ = _.a, _.n),
"__tests__/template.marko_1_num",
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
"__tests__/template.marko_1_num 2 3 4 5 6 7 8 9 10 11 12 13"
];
M._.w()
</script>
@ -308,8 +306,7 @@ click(c, 3);
}, _.b, _.c, _.d, _.e, _.f, _.g, _.h, _.i, _.j, _.k, _.l, _.m], _.b
._ = _.c._ = _.d._ = _.e._ = _.f._ = _.g._ = _.h._ = _.i._ = _.j._ =
_.k._ = _.l._ = _.m._ = _.a, _.n),
"__tests__/template.marko_1_num",
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
"__tests__/template.marko_1_num 2 3 4 5 6 7 8 9 10 11 12 13"
];
M._.w()
</script>
@ -421,8 +418,7 @@ click(c, 5);
}, _.b, _.c, _.d, _.e, _.f, _.g, _.h, _.i, _.j, _.k, _.l, _.m], _.b
._ = _.c._ = _.d._ = _.e._ = _.f._ = _.g._ = _.h._ = _.i._ = _.j._ =
_.k._ = _.l._ = _.m._ = _.a, _.n),
"__tests__/template.marko_1_num",
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
"__tests__/template.marko_1_num 2 3 4 5 6 7 8 9 10 11 12 13"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<button>1</button><!--M_*2 #button/0--><button>2</button><!--M_*3 #button/0--><button>3</button><!--M_*4 #button/0--><button>4</button><!--M_*5 #button/0--><button>5</button><!--M_*6 #button/0--><button>6</button><!--M_*7 #button/0--><button>7</button><!--M_*8 #button/0--><button>8</button><!--M_*9 #button/0--><button>9</button><!--M_*10 #button/0--><button>10</button><!--M_*11 #button/0--><button>11</button><!--M_*12 #button/0--><button>12</button><!--M_*13 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.n=[0,_.a={"BranchScopes:#text/0":[_.b={num:1},_.c={num:2},_.d={num:3},_.e={num:4},_.f={num:5},_.g={num:6},_.h={num:7},_.i={num:8},_.j={num:9},_.k={num:10},_.l={num:11},_.m={num:12}]},_.b,_.c,_.d,_.e,_.f,_.g,_.h,_.i,_.j,_.k,_.l,_.m],_.b._=_.c._=_.d._=_.e._=_.f._=_.g._=_.h._=_.i._=_.j._=_.k._=_.l._=_.m._=_.a,_.n),"__tests__/template.marko_1_num",2,3,4,5,6,7,8,9,10,11,12,13];M._.w()</script>
<button>1</button><!--M_*2 #button/0--><button>2</button><!--M_*3 #button/0--><button>3</button><!--M_*4 #button/0--><button>4</button><!--M_*5 #button/0--><button>5</button><!--M_*6 #button/0--><button>6</button><!--M_*7 #button/0--><button>7</button><!--M_*8 #button/0--><button>8</button><!--M_*9 #button/0--><button>9</button><!--M_*10 #button/0--><button>10</button><!--M_*11 #button/0--><button>11</button><!--M_*12 #button/0--><button>12</button><!--M_*13 #button/0--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.n=[0,_.a={"BranchScopes:#text/0":[_.b={num:1},_.c={num:2},_.d={num:3},_.e={num:4},_.f={num:5},_.g={num:6},_.h={num:7},_.i={num:8},_.j={num:9},_.k={num:10},_.l={num:11},_.m={num:12}]},_.b,_.c,_.d,_.e,_.f,_.g,_.h,_.i,_.j,_.k,_.l,_.m],_.b._=_.c._=_.d._=_.e._=_.f._=_.g._=_.h._=_.i._=_.j._=_.k._=_.l._=_.m._=_.a,_.n),"__tests__/template.marko_1_num 2 3 4 5 6 7 8 9 10 11 12 13"];M._.w()</script>
```
# Render End
@ -87,8 +87,7 @@
}, _.b, _.c, _.d, _.e, _.f, _.g, _.h, _.i, _.j, _.k, _.l, _.m], _.b
._ = _.c._ = _.d._ = _.e._ = _.f._ = _.g._ = _.h._ = _.i._ = _.j._ =
_.k._ = _.l._ = _.m._ = _.a, _.n),
"__tests__/template.marko_1_num",
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
"__tests__/template.marko_1_num 2 3 4 5 6 7 8 9 10 11 12 13"
];
M._.w()
</script>

View File

@ -19,8 +19,7 @@
{
_: _.a
}]),
"__tests__/template.marko_1_clickCount",
2
"__tests__/template.marko_1_clickCount 2"
];
M._.w()
</script>
@ -52,8 +51,7 @@ container.querySelector("button").click();
{
_: _.a
}]),
"__tests__/template.marko_1_clickCount",
2
"__tests__/template.marko_1_clickCount 2"
];
M._.w()
</script>
@ -91,8 +89,7 @@ container.querySelector("button").click();
{
_: _.a
}]),
"__tests__/template.marko_1_clickCount",
2
"__tests__/template.marko_1_clickCount 2"
];
M._.w()
</script>
@ -128,8 +125,7 @@ container.querySelector("button").click();
{
_: _.a
}]),
"__tests__/template.marko_1_clickCount",
2
"__tests__/template.marko_1_clickCount 2"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<div><button>0<!--M_*2 #text/1--></button><!--M_*2 #button/0--><!--M_|1 #text/0 2--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={clickCount:0},{_:_.a}]),"__tests__/template.marko_1_clickCount",2];M._.w()</script>
<div><button>0<!--M_*2 #text/1--></button><!--M_*2 #button/0--><!--M_|1 #text/0 2--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.b=[0,_.a={clickCount:0},{_:_.a}]),"__tests__/template.marko_1_clickCount 2"];M._.w()</script>
```
# Render End
@ -24,8 +24,7 @@
{
_: _.a
}]),
"__tests__/template.marko_1_clickCount",
2
"__tests__/template.marko_1_clickCount 2"
];
M._.w()
</script>

View File

@ -25,10 +25,7 @@
id: 0,
items: []
}]),
"__tests__/template.marko_0_items",
1,
"__tests__/template.marko_0_id_items",
1
"__tests__/template.marko_0_items 1 __tests__/template.marko_0_id_items 1"
];
M._.w()
</script>
@ -67,10 +64,7 @@ container.querySelector("#add").click();
id: 0,
items: []
}]),
"__tests__/template.marko_0_items",
1,
"__tests__/template.marko_0_id_items",
1
"__tests__/template.marko_0_items 1 __tests__/template.marko_0_id_items 1"
];
M._.w()
</script>
@ -114,10 +108,7 @@ container.querySelector("#add").click();
id: 0,
items: []
}]),
"__tests__/template.marko_0_items",
1,
"__tests__/template.marko_0_id_items",
1
"__tests__/template.marko_0_items 1 __tests__/template.marko_0_id_items 1"
];
M._.w()
</script>
@ -160,10 +151,7 @@ container.querySelector("#remove").click();
id: 0,
items: []
}]),
"__tests__/template.marko_0_items",
1,
"__tests__/template.marko_0_id_items",
1
"__tests__/template.marko_0_items 1 __tests__/template.marko_0_id_items 1"
];
M._.w()
</script>
@ -206,10 +194,7 @@ container.querySelector("#add").click();
id: 0,
items: []
}]),
"__tests__/template.marko_0_items",
1,
"__tests__/template.marko_0_id_items",
1
"__tests__/template.marko_0_items 1 __tests__/template.marko_0_id_items 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<div><!--M_|1 #text/0--><button id=add>Add</button><!--M_*1 #button/1--><button id=remove>Remove</button><!--M_*1 #button/2--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{id:0,items:[]}]),"__tests__/template.marko_0_items",1,"__tests__/template.marko_0_id_items",1];M._.w()</script>
<div><!--M_|1 #text/0--><button id=add>Add</button><!--M_*1 #button/1--><button id=remove>Remove</button><!--M_*1 #button/2--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{id:0,items:[]}]),"__tests__/template.marko_0_items 1 __tests__/template.marko_0_id_items 1"];M._.w()</script>
```
# Render End
@ -30,10 +30,7 @@
id: 0,
items: []
}]),
"__tests__/template.marko_0_items",
1,
"__tests__/template.marko_0_id_items",
1
"__tests__/template.marko_0_items 1 __tests__/template.marko_0_id_items 1"
];
M._.w()
</script>

View File

@ -46,10 +46,7 @@
{
"#LoopKey": 3
}]),
"__tests__/template.marko_0_list",
1,
"__tests__/template.marko_0_open",
1
"__tests__/template.marko_0_list 1 __tests__/template.marko_0_open 1"
];
M._.w()
</script>
@ -111,10 +108,7 @@ container.querySelector("#toggle").click();
{
"#LoopKey": 3
}]),
"__tests__/template.marko_0_list",
1,
"__tests__/template.marko_0_open",
1
"__tests__/template.marko_0_list 1 __tests__/template.marko_0_open 1"
];
M._.w()
</script>
@ -178,10 +172,7 @@ container.querySelector("#toggle").click();
{
"#LoopKey": 3
}]),
"__tests__/template.marko_0_list",
1,
"__tests__/template.marko_0_open",
1
"__tests__/template.marko_0_list 1 __tests__/template.marko_0_open 1"
];
M._.w()
</script>
@ -245,10 +236,7 @@ container.querySelector("#reverse").click();
{
"#LoopKey": 3
}]),
"__tests__/template.marko_0_list",
1,
"__tests__/template.marko_0_open",
1
"__tests__/template.marko_0_list 1 __tests__/template.marko_0_open 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<ul><li>1<!--M_*2 #text/0--></li><li>2<!--M_*3 #text/0--></li><li>3<!--M_*4 #text/0--></li><!--M_}1 #ul/0 4 3 2--></ul><button id=toggle>Toggle</button><!--M_*1 #button/1--><button id=reverse>Reverse</button><!--M_*1 #button/2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{open:!0,list:[1,2,3]},{"#LoopKey":1},{"#LoopKey":2},{"#LoopKey":3}]),"__tests__/template.marko_0_list",1,"__tests__/template.marko_0_open",1];M._.w()</script>
<ul><li>1<!--M_*2 #text/0--></li><li>2<!--M_*3 #text/0--></li><li>3<!--M_*4 #text/0--></li><!--M_}1 #ul/0 4 3 2--></ul><button id=toggle>Toggle</button><!--M_*1 #button/1--><button id=reverse>Reverse</button><!--M_*1 #button/2--><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{open:!0,list:[1,2,3]},{"#LoopKey":1},{"#LoopKey":2},{"#LoopKey":3}]),"__tests__/template.marko_0_list 1 __tests__/template.marko_0_open 1"];M._.w()</script>
```
# Render End
@ -51,10 +51,7 @@
{
"#LoopKey": 3
}]),
"__tests__/template.marko_0_list",
1,
"__tests__/template.marko_0_open",
1
"__tests__/template.marko_0_list 1 __tests__/template.marko_0_open 1"
];
M._.w()
</script>

View File

@ -19,8 +19,7 @@
show: !0
},
{}]),
"__tests__/template.marko_0_show",
1
"__tests__/template.marko_0_show 1"
];
M._.w()
</script>
@ -55,8 +54,7 @@ container.querySelector("button").click();
show: !0
},
{}]),
"__tests__/template.marko_0_show",
1
"__tests__/template.marko_0_show 1"
];
M._.w()
</script>
@ -95,8 +93,7 @@ container.querySelector("button").click();
show: !0
},
{}]),
"__tests__/template.marko_0_show",
1
"__tests__/template.marko_0_show 1"
];
M._.w()
</script>
@ -132,8 +129,7 @@ container.querySelector("button").click();
show: !0
},
{}]),
"__tests__/template.marko_0_show",
1
"__tests__/template.marko_0_show 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<div><!--M_[-->Hello!<!--M_]1 #text/0 2--><button>Toggle</button><!--M_*1 #button/1--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{show:!0},{}]),"__tests__/template.marko_0_show",1];M._.w()</script>
<div><!--M_[-->Hello!<!--M_]1 #text/0 2--><button>Toggle</button><!--M_*1 #button/1--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{show:!0},{}]),"__tests__/template.marko_0_show 1"];M._.w()</script>
```
# Render End
@ -24,8 +24,7 @@
show: !0
},
{}]),
"__tests__/template.marko_0_show",
1
"__tests__/template.marko_0_show 1"
];
M._.w()
</script>

View File

@ -16,8 +16,7 @@
{
clickCount: 0
}]),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
M._.w()
</script>
@ -47,8 +46,7 @@ container.querySelector("button").click();
{
clickCount: 0
}]),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
M._.w()
</script>
@ -82,8 +80,7 @@ container.querySelector("button").click();
{
clickCount: 0
}]),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
M._.w()
</script>
@ -117,8 +114,7 @@ container.querySelector("button").click();
{
clickCount: 0
}]),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
M._.w()
</script>

View File

@ -1,6 +1,6 @@
# Write
```html
<div><button>0<!--M_*1 #text/1--></button><!--M_*1 #button/0--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{clickCount:0}]),"__tests__/template.marko_0_clickCount",1];M._.w()</script>
<div><button>0<!--M_*1 #text/1--></button><!--M_*1 #button/0--></div><script>WALKER_RUNTIME("M")("_");M._.r=[_=>(_.a=[0,{clickCount:0}]),"__tests__/template.marko_0_clickCount 1"];M._.w()</script>
```
# Render End
@ -21,8 +21,7 @@
{
clickCount: 0
}]),
"__tests__/template.marko_0_clickCount",
1
"__tests__/template.marko_0_clickCount 1"
];
M._.w()
</script>

View File

@ -19,8 +19,7 @@
{
_: _.a
}]),
"__tests__/template.marko_0_show",
1
"__tests__/template.marko_0_show 1"
];
M._.w()
</script>
@ -49,8 +48,7 @@ container.querySelector("button").click();
{
_: _.a
}]),
"__tests__/template.marko_0_show",
1
"__tests__/template.marko_0_show 1"
];
M._.w()
</script>

Some files were not shown because too many files have changed in this diff Show More