experiment-s2
Dominic Gannaway 8 hours ago
parent 6979d476e5
commit 3a52f4c6e9

@ -370,10 +370,15 @@ export function RegularElement(node, context) {
if (use_text_content) {
child_state.init.push(
b.stmt(
b.assignment(
'=',
b.member(context.state.node, 'textContent'),
build_template_chunk(trimmed, context.visit, child_state).value
b.call(
'$.script_effect',
b.thunk(
b.assignment(
'=',
b.member(context.state.node, 'textContent'),
build_template_chunk(trimmed, context.visit, child_state).value
)
)
)
)
);

Loading…
Cancel
Save