");
child_default({
write,
name: "Middle"
diff --git a/packages/runtime-tags/src/__tests__/fixtures/cleanup-single-child-if-same-scope/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/cleanup-single-child-if-same-scope/__snapshots__/html.bundle.debug.js
index c22134ab27b..4e90a4d569a 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/cleanup-single-child-if-same-scope/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/cleanup-single-child-if-same-scope/__snapshots__/html.bundle.debug.js
@@ -3,11 +3,11 @@ var template_default = _template("__tests__/template.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
let show = true;
- _html(`
${_el_resume($scope0_id, "#pre/1")}`);
+ _html_opens("__tests__/template.marko:2:1", "__tests__/template.marko:4:1"), _html(`
${_el_resume($scope0_id, "#pre/1")}`);
_if(() => {
if (show) {
const $scope1_id = _scope_id();
- _html("
");
_script($scope1_id, "__tests__/template.marko_1");
writeScope($scope1_id, {}, "__tests__/template.marko", "6:2");
return 0;
diff --git a/packages/runtime-tags/src/__tests__/fixtures/cleanup-single-child-if-shallow/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/cleanup-single-child-if-shallow/__snapshots__/html.bundle.debug.js
index a1265230a77..fd838b9b3f2 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/cleanup-single-child-if-shallow/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/cleanup-single-child-if-shallow/__snapshots__/html.bundle.debug.js
@@ -2,7 +2,7 @@
var child_default = _template("__tests__/tags/child.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
- _html("
");
_script($scope0_id, "__tests__/tags/child.marko_0_input");
writeScope($scope0_id, { input }, "__tests__/tags/child.marko", 0, { input: 0 });
_resume_branch($scope0_id);
@@ -13,7 +13,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
let show = true;
- _html(`
${_el_resume($scope0_id, "#div/1")}`);
+ _html_opens("__tests__/template.marko:2:1", "__tests__/template.marko:4:1"), _html(`
${_el_resume($scope0_id, "#div/1")}`);
_if(() => {
if (show) {
const $scope1_id = _scope_id();
diff --git a/packages/runtime-tags/src/__tests__/fixtures/closure-owner-scope-serialize-in-serialized-function/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/closure-owner-scope-serialize-in-serialized-function/__snapshots__/html.bundle.debug.js
index 41702c11321..31828e0190b 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/closure-owner-scope-serialize-in-serialized-function/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/closure-owner-scope-serialize-in-serialized-function/__snapshots__/html.bundle.debug.js
@@ -10,7 +10,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
const run = _resume(function() {
((el) => el())(_el_read_error).innerHTML = text();
}, "__tests__/template.marko_1/run", $scope1_id);
- _html(`
${_el_resume($scope1_id, "#div/0")}`);
+ _html_opens("__tests__/template.marko:3:3"), _html(`
${_el_resume($scope1_id, "#div/0")}`);
_script($scope1_id, "__tests__/template.marko_1_run");
writeScope($scope1_id, {
run,
diff --git a/packages/runtime-tags/src/__tests__/fixtures/closure-serialize-reason/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/closure-serialize-reason/__snapshots__/html.bundle.debug.js
index bd6ce7c10ea..b0a0f887248 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/closure-serialize-reason/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/closure-serialize-reason/__snapshots__/html.bundle.debug.js
@@ -4,16 +4,16 @@ var template_default = _template("__tests__/template.marko", (input) => {
const $scope0_id = _scope_id();
let x = 0;
const getMessage = _resume(() => input.message, "__tests__/template.marko_0/getMessage", $scope0_id);
- _html("
");
+ _html_opens("__tests__/template.marko:3:1"), _html("
");
_if(() => {
if (x) {
const $scope1_id = _scope_id();
- _html(`${_escape(getMessage())}${_el_resume($scope1_id, "#text/0", _serialize_guard($scope0_reason, 0))} `);
+ _html_opens("__tests__/template.marko:5:5"), _html(`${_escape(getMessage())}${_el_resume($scope1_id, "#text/0", _serialize_guard($scope0_reason, 0))} `);
writeScope($scope1_id, {}, "__tests__/template.marko", "4:4");
return 0;
}
}, $scope0_id, "#div/0", 1, 1, 1, "
", 1);
- _html(`
${_escape(x)}${_el_resume($scope0_id, "#text/2")} ${_el_resume($scope0_id, "#button/1")}`);
+ _html_opens("__tests__/template.marko:8:1"), _html(`
${_escape(x)}${_el_resume($scope0_id, "#text/2")} ${_el_resume($scope0_id, "#button/1")}`);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, {
input_message: input.message,
diff --git a/packages/runtime-tags/src/__tests__/fixtures/comments/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/comments/__snapshots__/html.bundle.debug.js
index 2c1dfa72a54..848da34300e 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/comments/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/comments/__snapshots__/html.bundle.debug.js
@@ -2,5 +2,5 @@
var template_default = _template("__tests__/template.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
- _html("
");
+ _html_opens("__tests__/template.marko:1:1"), _html("
");
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/component-attrs-import-value/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/component-attrs-import-value/__snapshots__/html.bundle.debug.js
index c52382d479c..579c33c7374 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/component-attrs-import-value/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/component-attrs-import-value/__snapshots__/html.bundle.debug.js
@@ -8,7 +8,7 @@ var counter_default = _template("__tests__/tags/counter.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
let count = 0;
- _html(`
${_escape(input.format(count))}${_el_resume($scope0_id, "#text/1")} ${_el_resume($scope0_id, "#button/0")}`);
+ _html_opens("__tests__/tags/counter.marko:2:1"), _html(`
${_escape(input.format(count))}${_el_resume($scope0_id, "#text/1")} ${_el_resume($scope0_id, "#button/0")}`);
_script($scope0_id, "__tests__/tags/counter.marko_0");
writeScope($scope0_id, {
input,
diff --git a/packages/runtime-tags/src/__tests__/fixtures/component-attrs-intersection/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/component-attrs-intersection/__snapshots__/html.bundle.debug.js
index acedce20e6e..62f71585188 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/component-attrs-intersection/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/component-attrs-intersection/__snapshots__/html.bundle.debug.js
@@ -4,7 +4,7 @@ var display_intersection_default = _template("__tests__/tags/display-intersectio
const $scope0_id = _scope_id();
const { value } = input;
let dummy = {};
- _html(`
${_escape((dummy, value))}${_el_resume($scope0_id, "#text/0", _serialize_guard($scope0_reason, 0))}
`);
+ _html_opens("__tests__/tags/display-intersection.marko:3:1"), _html(`
${_escape((dummy, value))}${_el_resume($scope0_id, "#text/0", _serialize_guard($scope0_reason, 0))}
`);
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { dummy }, "__tests__/tags/display-intersection.marko", 0, { dummy: "2:6" });
_resume_branch($scope0_id);
});
@@ -17,7 +17,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
_set_serialize_reason(1);
const $childScope = _peek_scope_id();
display_intersection_default({ value: count });
- _html(`
${_el_resume($scope0_id, "#button/1")}`);
+ _html_opens("__tests__/template.marko:3:1"), _html(`
${_el_resume($scope0_id, "#button/1")}`);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, {
count,
diff --git a/packages/runtime-tags/src/__tests__/fixtures/component-attrs-static-code/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/component-attrs-static-code/__snapshots__/html.bundle.debug.js
index 9343bb93010..9cbccf2b5d6 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/component-attrs-static-code/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/component-attrs-static-code/__snapshots__/html.bundle.debug.js
@@ -3,7 +3,7 @@ var counter_default = _template("__tests__/tags/counter.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
let count = 0;
- _html(`
${_escape(input.format(count))}${_el_resume($scope0_id, "#text/1")} ${_el_resume($scope0_id, "#button/0")}`);
+ _html_opens("__tests__/tags/counter.marko:2:1"), _html(`
${_escape(input.format(count))}${_el_resume($scope0_id, "#text/1")} ${_el_resume($scope0_id, "#button/0")}`);
_script($scope0_id, "__tests__/tags/counter.marko_0");
writeScope($scope0_id, {
input,
diff --git a/packages/runtime-tags/src/__tests__/fixtures/component-attrs-static-non-registered-function/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/component-attrs-static-non-registered-function/__snapshots__/html.bundle.debug.js
index 4a3098a0348..82f20889674 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/component-attrs-static-non-registered-function/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/component-attrs-static-non-registered-function/__snapshots__/html.bundle.debug.js
@@ -2,7 +2,7 @@
var price_default = _template("__tests__/tags/price.marko", (input) => {
const $scope0_reason = _scope_reason();
const $scope0_id = _scope_id();
- _html(`
${_escape(input.format(input.value))}${_el_resume($scope0_id, "#text/0", _serialize_guard($scope0_reason, 0))}
`);
+ _html_opens("__tests__/tags/price.marko:1:1"), _html(`
${_escape(input.format(input.value))}${_el_resume($scope0_id, "#text/0", _serialize_guard($scope0_reason, 0))}
`);
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, {}, "__tests__/tags/price.marko", 0);
});
diff --git a/packages/runtime-tags/src/__tests__/fixtures/conditional-attr-value/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/conditional-attr-value/__snapshots__/html.bundle.debug.js
index de982420cb8..394a74644d9 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/conditional-attr-value/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/conditional-attr-value/__snapshots__/html.bundle.debug.js
@@ -2,7 +2,7 @@
var template_default = _template("__tests__/template.marko", (input) => {
const $scope0_reason = _scope_reason(), $si__input_fallback = _serialize_if($scope0_reason, 3);
const $scope0_id = _scope_id();
- _html(`
content
${_el_resume($scope0_id, "#div/0", _serialize_guard($scope0_reason, 1))}`);
+ _html_opens("__tests__/template.marko:1:1"), _html(`
content
${_el_resume($scope0_id, "#div/0", _serialize_guard($scope0_reason, 1))}`);
_serialize_if($scope0_reason, 1) && writeScope($scope0_id, {
input_x: $si__input_fallback && input.x,
input_y: _serialize_if($scope0_reason, 4) && input.y,
diff --git a/packages/runtime-tags/src/__tests__/fixtures/conditional-dynamic-tag-in-loop-closure/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/conditional-dynamic-tag-in-loop-closure/__snapshots__/html.bundle.debug.js
index faac54ae3c0..ad36cc8fb2e 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/conditional-dynamic-tag-in-loop-closure/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/conditional-dynamic-tag-in-loop-closure/__snapshots__/html.bundle.debug.js
@@ -7,7 +7,7 @@ var sections_default = _template("__tests__/tags/sections.marko", (input) => {
_if(() => {
if (content) {
const $scope2_id = _scope_id();
- _dynamic_tag($scope2_id, "#text/0", content, {}, 0, 0, $sg__input_section);
+ _dynamic_tag($scope2_id, "#text/0", content, {}, 0, 0, $sg__input_section, "__tests__/tags/sections.marko:3:5");
$si__input_section && writeScope($scope2_id, { _: _scope_with_id($scope1_id) }, "__tests__/tags/sections.marko", "2:4");
return 0;
}
diff --git a/packages/runtime-tags/src/__tests__/fixtures/conditional-dynamic-tag-in-loop/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/conditional-dynamic-tag-in-loop/__snapshots__/html.bundle.debug.js
index 8e4bb447ea8..bfa7b98fb0e 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/conditional-dynamic-tag-in-loop/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/conditional-dynamic-tag-in-loop/__snapshots__/html.bundle.debug.js
@@ -7,7 +7,7 @@ var sections_default = _template("__tests__/tags/sections.marko", (input) => {
_if(() => {
if (content) {
const $scope2_id = _scope_id();
- _dynamic_tag($scope2_id, "#text/0", content, {}, 0, 0, $sg__input_section);
+ _dynamic_tag($scope2_id, "#text/0", content, {}, 0, 0, $sg__input_section, "__tests__/tags/sections.marko:3:5");
$si__input_section && writeScope($scope2_id, { _: _scope_with_id($scope1_id) }, "__tests__/tags/sections.marko", "2:4");
return 0;
}
@@ -24,10 +24,10 @@ var template_default = _template("__tests__/template.marko", (input) => {
sections_default({ section: attrTags(attrTag({ content: _content("__tests__/template.marko_1_content", () => {
_scope_reason();
const $scope1_id = _scope_id();
- _html("
static content
");
+ _html_opens("__tests__/template.marko:3:5"), _html("
static content
");
}) }), { content: _content("__tests__/template.marko_2_content", () => {
_scope_reason();
const $scope2_id = _scope_id();
- _html("
that never changes
");
+ _html_opens("__tests__/template.marko:6:5"), _html("
that never changes
");
}) }) });
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/conditional-event-handler/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/conditional-event-handler/__snapshots__/html.bundle.debug.js
index b56138de8fc..a4676667afc 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/conditional-event-handler/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/conditional-event-handler/__snapshots__/html.bundle.debug.js
@@ -3,7 +3,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
let clicks = 0;
- _html(`
Clicked ${_escape(clicks)}${_el_resume($scope0_id, "#text/1")} times ${_el_resume($scope0_id, "#button/0")}`);
+ _html_opens("__tests__/template.marko:2:1"), _html(`
Clicked ${_escape(clicks)}${_el_resume($scope0_id, "#text/1")} times ${_el_resume($scope0_id, "#button/0")}`);
_script($scope0_id, "__tests__/template.marko_0_clicks");
writeScope($scope0_id, { clicks }, "__tests__/template.marko", 0, { clicks: "1:6" });
_resume_branch($scope0_id);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/conditional-table-row/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/conditional-table-row/__snapshots__/html.bundle.debug.js
index 2ca2189be0b..3433afd60b2 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/conditional-table-row/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/conditional-table-row/__snapshots__/html.bundle.debug.js
@@ -3,16 +3,16 @@ var template_default = _template("__tests__/template.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
let show = false;
- _html("
");
+ _html_opens("__tests__/template.marko:2:1", "__tests__/template.marko:3:3"), _html("");
_if(() => {
if (show) {
const $scope1_id = _scope_id();
- _html("Hi ");
+ _html_opens("__tests__/template.marko:5:7", "__tests__/template.marko:5:11"), _html("Hi ");
writeScope($scope1_id, {}, "__tests__/template.marko", "4:6");
return 0;
}
}, $scope0_id, "#tbody/0", 1, 1, 1, " ", 1);
- _html(`
Toggle ${_el_resume($scope0_id, "#button/1")}`);
+ _html_opens("__tests__/template.marko:9:1"), _html(`
Toggle ${_el_resume($scope0_id, "#button/1")}`);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, { show }, "__tests__/template.marko", 0, { show: "1:6" });
_resume_branch($scope0_id);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/const-array-pattern/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/const-array-pattern/__snapshots__/html.bundle.debug.js
index 9e676c62a85..40ad06d5095 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/const-array-pattern/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/const-array-pattern/__snapshots__/html.bundle.debug.js
@@ -5,7 +5,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
const [first, $second, ...others] = input.list;
const second = void 0 !== $second ? $second : "dflt";
let n = 1;
- _html(`
inc ${_escape(n)}${_el_resume($scope0_id, "#text/1")} ${_el_resume($scope0_id, "#button/0")}
${_escape(first)}${_el_resume($scope0_id, "#text/2", $sg__input_list)}|${_sep($sg__input_list)}${_escape(second)}${_el_resume($scope0_id, "#text/3", $sg__input_list)}|${_sep($sg__input_list)}${_escape(others.join(","))}${_el_resume($scope0_id, "#text/4", $sg__input_list)}
`);
+ _html_opens("__tests__/template.marko:3:1", "__tests__/template.marko:4:1"), _html(`
inc ${_escape(n)}${_el_resume($scope0_id, "#text/1")} ${_el_resume($scope0_id, "#button/0")}
${_escape(first)}${_el_resume($scope0_id, "#text/2", $sg__input_list)}|${_sep($sg__input_list)}${_escape(second)}${_el_resume($scope0_id, "#text/3", $sg__input_list)}|${_sep($sg__input_list)}${_escape(others.join(","))}${_el_resume($scope0_id, "#text/4", $sg__input_list)}
`);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, { n }, "__tests__/template.marko", 0, { n: "2:6" });
_resume_branch($scope0_id);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/const-async-method-handler/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/const-async-method-handler/__snapshots__/html.bundle.debug.js
index 137aa515825..34a6194896c 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/const-async-method-handler/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/const-async-method-handler/__snapshots__/html.bundle.debug.js
@@ -6,7 +6,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
const handlers = { load: _resume(async function() {
loaded = await Promise.resolve("yes");
}, "__tests__/template.marko_0/handlers", $scope0_id) };
- _html(`
${_escape(loaded)}${_el_resume($scope0_id, "#text/1")} ${_el_resume($scope0_id, "#button/0")}`);
+ _html_opens("__tests__/template.marko:7:1"), _html(`
${_escape(loaded)}${_el_resume($scope0_id, "#text/1")} ${_el_resume($scope0_id, "#button/0")}`);
_script($scope0_id, "__tests__/template.marko_0_handlers_load");
writeScope($scope0_id, { handlers_load: handlers.load }, "__tests__/template.marko", 0, { handlers_load: ["handlers.load", "4:8"] });
_resume_branch($scope0_id);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/const-defaulted-input/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/const-defaulted-input/__snapshots__/html.bundle.debug.js
index 247e3d960ab..d23f74c1d79 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/const-defaulted-input/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/const-defaulted-input/__snapshots__/html.bundle.debug.js
@@ -14,6 +14,6 @@ var template_default = _template("__tests__/template.marko", (input) => {
label: "guarded",
size: 3
};
- _html(`
${_escape(nullish.label)}${_el_resume($scope0_id, "#text/0", $sg__input_opts)}/${_sep($sg__input_opts)}${_escape(nullish.size)}${_el_resume($scope0_id, "#text/1", $sg__input_opts)} ${_sep($sg__input_opts)}${_escape(falsy.label)}${_el_resume($scope0_id, "#text/2", $sg__input_opts)}/${_sep($sg__input_opts)}${_escape(falsy.size)}${_el_resume($scope0_id, "#text/3", $sg__input_opts)} ${_sep($sg__input_opts)}${_escape(guarded?.label)}${_el_resume($scope0_id, "#text/4", $sg__input_opts)}
`);
+ _html_opens("__tests__/template.marko:4:1"), _html(`
${_escape(nullish.label)}${_el_resume($scope0_id, "#text/0", $sg__input_opts)}/${_sep($sg__input_opts)}${_escape(nullish.size)}${_el_resume($scope0_id, "#text/1", $sg__input_opts)} ${_sep($sg__input_opts)}${_escape(falsy.label)}${_el_resume($scope0_id, "#text/2", $sg__input_opts)}/${_sep($sg__input_opts)}${_escape(falsy.size)}${_el_resume($scope0_id, "#text/3", $sg__input_opts)} ${_sep($sg__input_opts)}${_escape(guarded?.label)}${_el_resume($scope0_id, "#text/4", $sg__input_opts)}
`);
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, {}, "__tests__/template.marko", 0);
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/const-logical-nullable-member/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/const-logical-nullable-member/__snapshots__/html.bundle.debug.js
index 1e1efd850df..42b182dff1d 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/const-logical-nullable-member/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/const-logical-nullable-member/__snapshots__/html.bundle.debug.js
@@ -7,7 +7,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
const viaTernary = on ? { label: "ternary" } : null;
const box = { inner: on ? { label: "assign" } : null };
const viaAndAssign = box.inner &&= { label: "andassign" };
- _html(`
${_escape(viaAnd.label ?? "none")}${_el_resume($scope0_id, "#text/0")} ${_escape(viaTernary.label ?? "none")}${_el_resume($scope0_id, "#text/1")} ${_escape(viaAndAssign.label ?? "none")}${_el_resume($scope0_id, "#text/2")} toggle ${_el_resume($scope0_id, "#button/3")}`);
+ _html_opens("__tests__/template.marko:8:1", "__tests__/template.marko:9:3", "__tests__/template.marko:10:3", "__tests__/template.marko:11:3", "__tests__/template.marko:13:1"), _html(`
${_escape(viaAnd.label ?? "none")}${_el_resume($scope0_id, "#text/0")} ${_escape(viaTernary.label ?? "none")}${_el_resume($scope0_id, "#text/1")} ${_escape(viaAndAssign.label ?? "none")}${_el_resume($scope0_id, "#text/2")} toggle ${_el_resume($scope0_id, "#button/3")}`);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, { on }, "__tests__/template.marko", 0, { on: "3:6" });
_resume_branch($scope0_id);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/const-tag-destructure/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/const-tag-destructure/__snapshots__/html.bundle.debug.js
index b84e2e98ecb..8d9fd2e6e89 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/const-tag-destructure/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/const-tag-destructure/__snapshots__/html.bundle.debug.js
@@ -7,6 +7,6 @@ var template_default = _template("__tests__/template.marko", (input) => {
y: 2
};
const { x, y } = z;
- _html(`
${_escape(x)}
${_escape(y)}`);
+ _html_opens("__tests__/template.marko:3:1"), _html(`
${_escape(x)}
${_escape(y)}`);
_resume_branch($scope0_id);
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/const-tag-hoist-error/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/const-tag-hoist-error/__snapshots__/html.bundle.debug.js
index 0d8b57c09c6..1540407f844 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/const-tag-hoist-error/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/const-tag-hoist-error/__snapshots__/html.bundle.debug.js
@@ -5,7 +5,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
const $y_getter = _hoist($scope0_id, "__tests__/template.marko_0_y/hoist");
const x = 1;
const y = 1;
- _html(`
${_escape(x)}
${_escape($y_getter)}`);
+ _html_opens("__tests__/template.marko:2:1"), _html(`
${_escape(x)}
${_escape($y_getter)}`);
writeScope($scope0_id, { y }, "__tests__/template.marko", 0, { y: "3:10" });
_assert_hoist(y);
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/const-tag/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/const-tag/__snapshots__/html.bundle.debug.js
index 8b436e1831b..8931b85283e 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/const-tag/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/const-tag/__snapshots__/html.bundle.debug.js
@@ -5,7 +5,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
const $y_getter = _hoist($scope0_id, "__tests__/template.marko_0_y/hoist");
const x = 1;
const y = _resume(() => 1, "__tests__/template.marko_0/y");
- _html(`
${_escape(x)}${_escape(y())}
${_escape(typeof $y_getter)}`);
+ _html_opens("__tests__/template.marko:2:1"), _html(`
${_escape(x)}${_escape(y())}
${_escape(typeof $y_getter)}`);
writeScope($scope0_id, { y }, "__tests__/template.marko", 0, { y: "3:10" });
_assert_hoist(y);
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/content-attr-body-precedence/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/content-attr-body-precedence/__snapshots__/html.bundle.debug.js
index 433d6683d0e..77633f9059e 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/content-attr-body-precedence/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/content-attr-body-precedence/__snapshots__/html.bundle.debug.js
@@ -5,9 +5,9 @@ var template_default = _template("__tests__/template.marko", (input) => {
const Note = { content: _content("__tests__/template.marko_1_content", () => {
const $scope1_id = _scope_id();
_scope_reason();
- _html("
note ");
+ _html_opens("__tests__/template.marko:2:3"), _html("
note ");
}) };
- _html("
");
+ _html_opens("__tests__/template.marko:4:1"), _html("
");
_attr_content("#div/0", $scope0_id, Note, 0);
- _html("
body wins
");
+ _html_opens("__tests__/template.marko:5:1", "__tests__/template.marko:6:1"), _html("
body wins
");
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/content-attr-meta/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/content-attr-meta/__snapshots__/html.bundle.debug.js
index 483588d61f8..fedc1d65ba8 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/content-attr-meta/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/content-attr-meta/__snapshots__/html.bundle.debug.js
@@ -3,7 +3,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
let height = 630;
- _html(`
${_el_resume($scope0_id, "#meta/0")}
resize ${_el_resume($scope0_id, "#button/1")}`);
+ _html_opens("__tests__/template.marko:3:1", "__tests__/template.marko:4:1", "__tests__/template.marko:6:1"), _html(`
${_el_resume($scope0_id, "#meta/0")}
resize ${_el_resume($scope0_id, "#button/1")}`);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, {}, "__tests__/template.marko", 0);
_resume_branch($scope0_id);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/content-params-array-defaults/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/content-params-array-defaults/__snapshots__/html.bundle.debug.js
index 3361b28f412..8dc7795376e 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/content-params-array-defaults/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/content-params-array-defaults/__snapshots__/html.bundle.debug.js
@@ -6,11 +6,11 @@ var template_default = _template("__tests__/template.marko", (input) => {
const $scope1_id = _scope_id();
const $scope1_reason = _scope_reason(), $sg__b = _serialize_guard($scope1_reason, 2);
const a = void 0 !== $a ? $a : 1;
- _html(`
${_escape(a)}${_el_resume($scope1_id, "#text/0", _serialize_guard($scope1_reason, 1))}|${_sep($sg__b)}${_escape(b)}${_el_resume($scope1_id, "#text/1", $sg__b)}
`);
+ _html_opens("__tests__/template.marko:2:3"), _html(`
${_escape(a)}${_el_resume($scope1_id, "#text/0", _serialize_guard($scope1_reason, 1))}|${_sep($sg__b)}${_escape(b)}${_el_resume($scope1_id, "#text/1", $sg__b)}
`);
_serialize_if($scope1_reason, 0) && writeScope($scope1_id, {}, "__tests__/template.marko", "1:2");
}) };
let n = 2;
- _html(`
inc ${_el_resume($scope0_id, "#button/0")}`);
+ _html_opens("__tests__/template.marko:5:1"), _html(`
inc ${_el_resume($scope0_id, "#button/0")}`);
_set_serialize_reason(1);
const $childScope = _peek_scope_id();
Wrap.content([undefined, n]);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/content-with-state/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/content-with-state/__snapshots__/html.bundle.debug.js
index 60be700169f..bbde5b61abc 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/content-with-state/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/content-with-state/__snapshots__/html.bundle.debug.js
@@ -2,7 +2,7 @@
var inner_default = _template("__tests__/tags/inner.marko", (input) => {
const $scope0_reason = _scope_reason();
const $scope0_id = _scope_id();
- _dynamic_tag($scope0_id, "#text/0", input.content, {}, 0, 0, _serialize_guard($scope0_reason, 0));
+ _dynamic_tag($scope0_id, "#text/0", input.content, {}, 0, 0, _serialize_guard($scope0_reason, 0), "__tests__/tags/inner.marko:1:1");
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, {}, "__tests__/tags/inner.marko", 0);
});
@@ -14,8 +14,8 @@ var outer_default = _template("__tests__/tags/outer.marko", (input) => {
inner_default({ content: _content("__tests__/tags/outer.marko_1_content", () => {
const $scope1_reason = _scope_reason();
const $scope1_id = _scope_id();
- _html(`
click ${_el_resume($scope1_id, "#button/0")}`);
- _dynamic_tag($scope1_id, "#text/1", input.content, {}, 0, 0, _serialize_guard($scope0_reason, 0));
+ _html_opens("__tests__/tags/outer.marko:2:3"), _html(`
click ${_el_resume($scope1_id, "#button/0")}`);
+ _dynamic_tag($scope1_id, "#text/1", input.content, {}, 0, 0, _serialize_guard($scope0_reason, 0), "__tests__/tags/outer.marko:3:3");
_script($scope1_id, "__tests__/tags/outer.marko_1");
_subscribe($si__input_content && $input_content__closures, writeScope($scope1_id, { _: $si__input_content && _scope_with_id($scope0_id) }, "__tests__/tags/outer.marko", "1:2"));
_resume_branch($scope1_id);
@@ -32,11 +32,11 @@ var template_default = _template("__tests__/template.marko", (input) => {
outer_default({ content: _content("__tests__/template.marko_1_content", () => {
_scope_reason();
const $scope1_id = _scope_id();
- _html(`
${_escape(count)}${_el_resume($scope1_id, "#text/0")} `);
+ _html_opens("__tests__/template.marko:3:3"), _html(`
${_escape(count)}${_el_resume($scope1_id, "#text/0")} `);
_subscribe($count__closures, writeScope($scope1_id, { _: _scope_with_id($scope0_id) }, "__tests__/template.marko", "2:2"));
_resume_branch($scope1_id);
}) });
- _html(`
click ${_el_resume($scope0_id, "#button/1")}`);
+ _html_opens("__tests__/template.marko:5:1"), _html(`
click ${_el_resume($scope0_id, "#button/1")}`);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, {
count,
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-many/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-many/__snapshots__/html.bundle.debug.js
index ac404eb59cc..bccc316232a 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-many/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-many/__snapshots__/html.bundle.debug.js
@@ -10,7 +10,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
_for_of(states, (state, i) => {
const $scope1_id = _scope_id();
let checked = state;
- _html(`
{
+ _html_opens("__tests__/template.marko:12:3"), _html(`
{
checked = _new_checked;
}, "__tests__/template.marko_1/checkedChange", $scope1_id))} type=checkbox>${_el_resume($scope1_id, "#input/0")}`);
_script($scope1_id, "__tests__/template.marko_1");
@@ -26,7 +26,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
}, "__tests__/template.marko_1/valueChange", $scope1_id) || void 0
}, "__tests__/template.marko", "2:2", { "#LoopKey": "2:13" });
}, 0, $scope0_id, "#text/0", 1, 1, 1, 0, 1);
- _html(`
${_escape(states.join(","))}${_el_resume($scope0_id, "#text/1")}
`);
+ _html_opens("__tests__/template.marko:14:1"), _html(`
${_escape(states.join(","))}${_el_resume($scope0_id, "#text/1")}
`);
writeScope($scope0_id, { states }, "__tests__/template.marko", 0, { states: "1:6" });
_resume_branch($scope0_id);
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-spread/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-spread/__snapshots__/html.bundle.debug.js
index 0b2dc697260..68b6ad16590 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-spread/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-spread/__snapshots__/html.bundle.debug.js
@@ -2,7 +2,7 @@
var checkbox_default = _template("__tests__/tags/checkbox.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
- _html(`
${_el_resume($scope0_id, "#input/0")}`);
@@ -22,7 +22,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
checked = _new_checked;
}, "__tests__/template.marko_0/checkedChange", $scope0_id)
});
- _html(`
${_escape(String(checked))}${_el_resume($scope0_id, "#text/1")} `);
+ _html_opens("__tests__/template.marko:3:1"), _html(`
${_escape(String(checked))}${_el_resume($scope0_id, "#text/1")} `);
writeScope($scope0_id, { "#childScope/0": _existing_scope($childScope) }, "__tests__/template.marko", 0);
_resume_branch($scope0_id);
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value-empty-spread/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value-empty-spread/__snapshots__/html.bundle.debug.js
index c12e0de6e43..abb267324e9 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value-empty-spread/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value-empty-spread/__snapshots__/html.bundle.debug.js
@@ -4,7 +4,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
const $scope0_id = _scope_id();
let v = "";
const rest = { placeholder: "p" };
- _html(`
toggle ${_el_resume($scope0_id, "#button/0")}
toggle${_el_resume($scope0_id, "#button/0")}
{
_scope_reason();
const $scope0_id = _scope_id();
let selected = null;
- _html(`
{
+ _html_opens("__tests__/template.marko:3:1", "__tests__/template.marko:4:1"), _html(`
{
selected = _new_selected;
}, "__tests__/template.marko_0/checkedValueChange", $scope0_id), "")} type=checkbox>${_el_resume($scope0_id, "#input/0")}
${selected === undefined ? "undefined" : selected === null ? "null" : _escape("value=" + selected)}${_el_resume($scope0_id, "#text/1")} `);
_script($scope0_id, "__tests__/template.marko_0");
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value-multiple-number/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value-multiple-number/__snapshots__/html.bundle.debug.js
index 80be9a05d85..e112aa3d30a 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value-multiple-number/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value-multiple-number/__snapshots__/html.bundle.debug.js
@@ -3,7 +3,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
let checked = [1];
- _html(`
Number(it));
}, "__tests__/template.marko_0/checkedValueChange", $scope0_id), 0)} type=checkbox>${_el_resume($scope0_id, "#input/0")}
Number(it));
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value-number/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value-number/__snapshots__/html.bundle.debug.js
index 3577935c707..2ddf038e80c 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value-number/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value-number/__snapshots__/html.bundle.debug.js
@@ -3,7 +3,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
let checked = 0;
- _html(`
${_el_resume($scope0_id, "#input/0")}
{
_scope_reason();
const $scope0_id = _scope_id();
let picked = "a";
- _html(`
${_el_resume($scope0_id, "#input/0")}
${_el_resume($scope0_id, "#input/1")}
${_escape(picked)} `);
+ _html_opens("__tests__/template.marko:2:1", "__tests__/template.marko:3:1", "__tests__/template.marko:4:1"), _html(`
${_el_resume($scope0_id, "#input/0")}
${_el_resume($scope0_id, "#input/1")}
${_escape(picked)} `);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, {}, "__tests__/template.marko", 0);
_resume_branch($scope0_id);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value-spread/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value-spread/__snapshots__/html.bundle.debug.js
index 6b978d9c54b..5278df0e550 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value-spread/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value-spread/__snapshots__/html.bundle.debug.js
@@ -2,7 +2,7 @@
var radio_default = _template("__tests__/tags/radio.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
- _html(`
${_el_resume($scope0_id, "#input/0")}`);
@@ -36,7 +36,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
checkedValueChange: $checkedValueChange,
value: "c"
});
- _html(`
${_escape(checkedValue)}${_el_resume($scope0_id, "#text/3")} `);
+ _html_opens("__tests__/template.marko:6:1"), _html(`
${_escape(checkedValue)}${_el_resume($scope0_id, "#text/3")} `);
writeScope($scope0_id, {
$checkedValueChange,
"#childScope/0": _existing_scope($childScope),
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value/__snapshots__/html.bundle.debug.js
index 9ccc2ad800a..c80179c3138 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-value/__snapshots__/html.bundle.debug.js
@@ -6,7 +6,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
const $checkedValueChange = _resume((_new_checkedValue) => {
checkedValue = _new_checkedValue;
}, "__tests__/template.marko_0/checkedValueChange2", $scope0_id);
- _html(`
${_el_resume($scope0_id, "#input/0")}
${_el_resume($scope0_id, "#input/1")}
${_el_resume($scope0_id, "#input/2")}
${_escape(checkedValue)}${_el_resume($scope0_id, "#text/3")} `);
+ _html_opens("__tests__/template.marko:3:1", "__tests__/template.marko:4:1", "__tests__/template.marko:5:1", "__tests__/template.marko:6:1"), _html(`
${_el_resume($scope0_id, "#input/0")}
${_el_resume($scope0_id, "#input/1")}
${_el_resume($scope0_id, "#input/2")}
${_escape(checkedValue)}${_el_resume($scope0_id, "#text/3")} `);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, { $checkedValueChange }, "__tests__/template.marko", 0, { $checkedValueChange: 0 });
_resume_branch($scope0_id);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-values-spread/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-values-spread/__snapshots__/html.bundle.debug.js
index 468df33c0d3..927e3ca0655 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-values-spread/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-values-spread/__snapshots__/html.bundle.debug.js
@@ -2,7 +2,7 @@
var checkbox_default = _template("__tests__/tags/checkbox.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
- _html(`
${_el_resume($scope0_id, "#input/0")}`);
@@ -36,7 +36,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
checkedValueChange: $checkedValueChange,
value: "c"
});
- _html(`
${_escape(checkedValue)}${_el_resume($scope0_id, "#text/3")} `);
+ _html_opens("__tests__/template.marko:5:1"), _html(`
${_escape(checkedValue)}${_el_resume($scope0_id, "#text/3")} `);
writeScope($scope0_id, {
$checkedValueChange,
"#childScope/0": _existing_scope($childScope),
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-values/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-values/__snapshots__/html.bundle.debug.js
index 9a84137d75d..160a604f98a 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-values/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked-values/__snapshots__/html.bundle.debug.js
@@ -6,7 +6,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
const $checkedValueChange = _resume((_new_checkedValue) => {
checkedValue = _new_checkedValue;
}, "__tests__/template.marko_0/checkedValueChange2", $scope0_id);
- _html(`
${_el_resume($scope0_id, "#input/0")}
${_el_resume($scope0_id, "#input/1")}
${_el_resume($scope0_id, "#input/2")}
${_escape(checkedValue)}${_el_resume($scope0_id, "#text/3")} `);
+ _html_opens("__tests__/template.marko:2:1", "__tests__/template.marko:3:1", "__tests__/template.marko:4:1", "__tests__/template.marko:5:1"), _html(`
${_el_resume($scope0_id, "#input/0")}
${_el_resume($scope0_id, "#input/1")}
${_el_resume($scope0_id, "#input/2")}
${_escape(checkedValue)}${_el_resume($scope0_id, "#text/3")} `);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, { $checkedValueChange }, "__tests__/template.marko", 0, { $checkedValueChange: 0 });
_resume_branch($scope0_id);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked/__snapshots__/html.bundle.debug.js
index b4c154579cc..554143324a7 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-checked/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-checked/__snapshots__/html.bundle.debug.js
@@ -3,7 +3,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
let checked = false;
- _html(`
{
+ _html_opens("__tests__/template.marko:2:1", "__tests__/template.marko:3:1"), _html(`
{
checked = _new_checked;
}, "__tests__/template.marko_0/checkedChange", $scope0_id))} type=checkbox>${_el_resume($scope0_id, "#input/0")}
${_escape(String(checked))}${_el_resume($scope0_id, "#text/1")} `);
_script($scope0_id, "__tests__/template.marko_0");
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-details-open-spread/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-details-open-spread/__snapshots__/html.bundle.debug.js
index aae29b11ec1..3dc4d265cf7 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-details-open-spread/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-details-open-spread/__snapshots__/html.bundle.debug.js
@@ -2,7 +2,7 @@
var my_details_default = _template("__tests__/tags/my-details.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
- _html(`
s ${_el_resume($scope0_id, "#details/0")}`);
+ _html_opens("__tests__/tags/my-details.marko:1:1", "__tests__/tags/my-details.marko:1:19"), _html(`
s ${_el_resume($scope0_id, "#details/0")}`);
_script($scope0_id, "__tests__/tags/my-details.marko_0_input");
writeScope($scope0_id, {}, "__tests__/tags/my-details.marko", 0);
});
@@ -19,7 +19,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
open = _new_open;
}, "__tests__/template.marko_0/openChange", $scope0_id)
});
- _html(`
${_escape(String(open))}${_el_resume($scope0_id, "#text/1")} `);
+ _html_opens("__tests__/template.marko:3:1"), _html(`
${_escape(String(open))}${_el_resume($scope0_id, "#text/1")} `);
writeScope($scope0_id, { "#childScope/0": _existing_scope($childScope) }, "__tests__/template.marko", 0);
_resume_branch($scope0_id);
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-details-open/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-details-open/__snapshots__/html.bundle.debug.js
index f53a4186ea7..21b9157edc7 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-details-open/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-details-open/__snapshots__/html.bundle.debug.js
@@ -3,7 +3,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
let open = false;
- _html(`
{
+ _html_opens("__tests__/template.marko:2:1", "__tests__/template.marko:2:21", "__tests__/template.marko:3:1"), _html(` {
open = _new_open;
}, "__tests__/template.marko_0/openChange", $scope0_id))}> ${_el_resume($scope0_id, "#details/0")}${_escape(String(open))}${_el_resume($scope0_id, "#text/1")} `);
_script($scope0_id, "__tests__/template.marko_0");
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-details-spread-rerender/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-details-spread-rerender/__snapshots__/html.bundle.debug.js
index d67e5b14b25..af7dcebb082 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-details-spread-rerender/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-details-spread-rerender/__snapshots__/html.bundle.debug.js
@@ -11,7 +11,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
}, "__tests__/template.marko_0/attrs", $scope0_id),
"data-n": n
};
- _html(`bump ${_el_resume($scope0_id, "#button/0")}s body ${_el_resume($scope0_id, "#details/1")}${open ? "open" : "closed"}${_el_resume($scope0_id, "#text/2")}/${_escape(n)}${_el_resume($scope0_id, "#text/3")} `);
+ _html_opens("__tests__/template.marko:4:1", "__tests__/template.marko:5:1", "__tests__/template.marko:5:19", "__tests__/template.marko:6:1"), _html(`bump ${_el_resume($scope0_id, "#button/0")}s body ${_el_resume($scope0_id, "#details/1")}${open ? "open" : "closed"}${_el_resume($scope0_id, "#text/2")}/${_escape(n)}${_el_resume($scope0_id, "#text/3")} `);
_script($scope0_id, "__tests__/template.marko_0_attrs");
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, {
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-dialog-open-spread/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-dialog-open-spread/__snapshots__/html.bundle.debug.js
index 3cbcc349544..a7680c84466 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-dialog-open-spread/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-dialog-open-spread/__snapshots__/html.bundle.debug.js
@@ -2,7 +2,7 @@
var my_dialog_default = _template("__tests__/tags/my-dialog.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
- _html("${_el_resume($scope0_id, "#dialog/0")}`);
_script($scope0_id, "__tests__/tags/my-dialog.marko_0_input");
@@ -21,7 +21,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
open = _new_open;
}, "__tests__/template.marko_0/openChange", $scope0_id)
});
- _html(`${_escape(String(open))}${_el_resume($scope0_id, "#text/1")} `);
+ _html_opens("__tests__/template.marko:3:1"), _html(`${_escape(String(open))}${_el_resume($scope0_id, "#text/1")} `);
writeScope($scope0_id, { "#childScope/0": _existing_scope($childScope) }, "__tests__/template.marko", 0);
_resume_branch($scope0_id);
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-dialog-open/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-dialog-open/__snapshots__/html.bundle.debug.js
index 7f141ce1038..1a27e9679c2 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-dialog-open/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-dialog-open/__snapshots__/html.bundle.debug.js
@@ -3,7 +3,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
let open = true;
- _html(` {
+ _html_opens("__tests__/template.marko:2:1", "__tests__/template.marko:3:1"), _html(` {
open = _new_open;
}, "__tests__/template.marko_0/openChange", $scope0_id))}> ${_el_resume($scope0_id, "#dialog/0")}${_escape(String(open))}${_el_resume($scope0_id, "#text/1")} `);
_script($scope0_id, "__tests__/template.marko_0");
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-dynamic-checkbox-checked-value/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-dynamic-checkbox-checked-value/__snapshots__/html.bundle.debug.js
index ab5cd61af7c..3cea1396ae0 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-dynamic-checkbox-checked-value/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-dynamic-checkbox-checked-value/__snapshots__/html.bundle.debug.js
@@ -7,17 +7,17 @@ var template_default = _template("__tests__/template.marko", (input) => {
const $checkedValueChange = _resume((_new_checkedValue) => {
checkedValue = _new_checkedValue;
}, "__tests__/template.marko_0/checkedValueChange2", $scope0_id);
- _html(` ${_el_resume($scope0_id, "#input/0")}`);
+ _html_opens("__tests__/template.marko:4:1"), _html(` ${_el_resume($scope0_id, "#input/0")}`);
_if(() => {
if (show) {
const $scope1_id = _scope_id();
- _html(` ${_el_resume($scope1_id, "#input/0")}`);
+ _html_opens("__tests__/template.marko:6:3"), _html(` ${_el_resume($scope1_id, "#input/0")}`);
_script($scope1_id, "__tests__/template.marko_1");
writeScope($scope1_id, {}, "__tests__/template.marko", "5:2");
return 0;
}
}, $scope0_id, "#text/1", 1, 1, 1, 0, 1);
- _html(` ${_el_resume($scope0_id, "#input/2")}${_escape(checkedValue)}${_el_resume($scope0_id, "#text/3")} Toggle ${_el_resume($scope0_id, "#button/4")}`);
+ _html_opens("__tests__/template.marko:8:1", "__tests__/template.marko:9:1", "__tests__/template.marko:10:1"), _html(` ${_el_resume($scope0_id, "#input/2")}${_escape(checkedValue)}${_el_resume($scope0_id, "#text/3")} Toggle ${_el_resume($scope0_id, "#button/4")}`);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, {
show,
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-dynamic-details-textarea/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-dynamic-details-textarea/__snapshots__/html.bundle.debug.js
index 0e7b0037467..16bbd51094a 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-dynamic-details-textarea/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-dynamic-details-textarea/__snapshots__/html.bundle.debug.js
@@ -15,17 +15,17 @@ var template_default = _template("__tests__/template.marko", (input) => {
}, _content_resume("__tests__/template.marko_1_content", () => {
const $scope1_id = _scope_id();
_scope_reason();
- _html("toggle ");
+ _html_opens("__tests__/template.marko:6:3"), _html("toggle ");
_dynamic_tag($scope1_id, "#text/0", textareaTag, {
value: text,
valueChange: _resume(function(next) {
text = next;
}, "__tests__/template.marko_1/valueChange", $scope1_id)
- });
+ }, void 0, void 0, void 0, "__tests__/template.marko:7:3");
_subscribe($text__closures, writeScope($scope1_id, { _: _scope_with_id($scope0_id) }, "__tests__/template.marko", "5:4"));
_resume_branch($scope1_id);
- }, $scope0_id));
- _html(`${open ? "open" : "closed"}${_el_resume($scope0_id, "#text/1")}/${_escape(text)}${_el_resume($scope0_id, "#text/2")} `);
+ }, $scope0_id), void 0, void 0, "__tests__/template.marko:5:1");
+ _html_opens("__tests__/template.marko:9:1"), _html(`${open ? "open" : "closed"}${_el_resume($scope0_id, "#text/1")}/${_escape(text)}${_el_resume($scope0_id, "#text/2")} `);
writeScope($scope0_id, {
text,
detailsTag,
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-dynamic-tag-only-spread/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-dynamic-tag-only-spread/__snapshots__/html.bundle.debug.js
index d937ec45dd3..c1a9783b5da 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-dynamic-tag-only-spread/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-dynamic-tag-only-spread/__snapshots__/html.bundle.debug.js
@@ -12,9 +12,9 @@ var template_default = _template("__tests__/template.marko", (input) => {
}, _content_resume("__tests__/template.marko_1_content", () => {
const $scope1_id = _scope_id();
_scope_reason();
- _html(`A B C `);
- }, $scope0_id));
- _html(`${_escape(value)}${_el_resume($scope0_id, "#text/1")} `);
+ _html_opens("__tests__/template.marko:4:3", "__tests__/template.marko:5:3", "__tests__/template.marko:6:3"), _html(`A B C `);
+ }, $scope0_id), void 0, void 0, "__tests__/template.marko:3:1");
+ _html_opens("__tests__/template.marko:8:1"), _html(`${_escape(value)}${_el_resume($scope0_id, "#text/1")} `);
writeScope($scope0_id, { tag }, "__tests__/template.marko", 0, { tag: "2:8" });
_resume_branch($scope0_id);
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-dynamic-tag-uncontrolled-value/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-dynamic-tag-uncontrolled-value/__snapshots__/html.bundle.debug.js
index 11b12f17d08..d036e43f994 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-dynamic-tag-uncontrolled-value/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-dynamic-tag-uncontrolled-value/__snapshots__/html.bundle.debug.js
@@ -7,9 +7,9 @@ var template_default = _template("__tests__/template.marko", (input) => {
_dynamic_tag($scope0_id, "#text/0", tag, { value: pick }, _content_resume("__tests__/template.marko_1_content", () => {
const $scope1_id = _scope_id();
_scope_reason();
- _html(`A B C `);
- }, $scope0_id));
- _html(`pick c ${_el_resume($scope0_id, "#button/1")}`);
+ _html_opens("__tests__/template.marko:4:3", "__tests__/template.marko:5:3", "__tests__/template.marko:6:3"), _html(`A B C `);
+ }, $scope0_id), void 0, void 0, "__tests__/template.marko:3:1");
+ _html_opens("__tests__/template.marko:8:1"), _html(`pick c ${_el_resume($scope0_id, "#button/1")}`);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, { tag }, "__tests__/template.marko", 0, { tag: "1:8" });
_resume_branch($scope0_id);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-input-number-member-modifier-value/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-input-number-member-modifier-value/__snapshots__/html.bundle.debug.js
index 9cdda719a49..9e2f2581f2e 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-input-number-member-modifier-value/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-input-number-member-modifier-value/__snapshots__/html.bundle.debug.js
@@ -2,7 +2,7 @@
var custom_input_default = _template("__tests__/tags/custom-input.marko", (input) => {
const $scope0_reason = _scope_reason();
const $scope0_id = _scope_id();
- _html(` {
+ _html_opens("__tests__/tags/custom-input.marko:1:1"), _html(` {
input.valueChange(parseInt($next));
}, "__tests__/tags/custom-input.marko_0/valueChange", $scope0_id))} type=number>${_el_resume($scope0_id, "#input/0")}`);
_script($scope0_id, "__tests__/tags/custom-input.marko_0");
@@ -27,7 +27,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
value = _new_value;
}, "__tests__/template.marko_0/valueChange", $scope0_id)
});
- _html(`${_escape(value)}${_el_resume($scope0_id, "#text/1")} ${_escape(typeof value)}${_el_resume($scope0_id, "#text/2")} `);
+ _html_opens("__tests__/template.marko:3:1"), _html(`${_escape(value)}${_el_resume($scope0_id, "#text/1")} ${_escape(typeof value)}${_el_resume($scope0_id, "#text/2")} `);
writeScope($scope0_id, { "#childScope/0": _existing_scope($childScope) }, "__tests__/template.marko", 0);
_resume_branch($scope0_id);
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-input-number-modifier-destructured/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-input-number-modifier-destructured/__snapshots__/html.bundle.debug.js
index 71eb40ff772..f2f05adda9b 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-input-number-modifier-destructured/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-input-number-modifier-destructured/__snapshots__/html.bundle.debug.js
@@ -6,7 +6,7 @@ var my_input_default = _template("__tests__/tags/my-input.marko", (input) => {
const $scope0_reason = _scope_reason();
const $scope0_id = _scope_id();
const { "countChange": $countChange, count } = input;
- _html(` {
+ _html_opens("__tests__/tags/my-input.marko:5:1"), _html(` {
$countChange(num($next));
}, "__tests__/tags/my-input.marko_0/valueChange", $scope0_id))} type=number>${_el_resume($scope0_id, "#input/0")}`);
_script($scope0_id, "__tests__/tags/my-input.marko_0");
@@ -31,7 +31,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
value = _new_value;
}, "__tests__/template.marko_0/countChange", $scope0_id)
});
- _html(`${_escape(value)}${_el_resume($scope0_id, "#text/1")} ${_escape(typeof value)}${_el_resume($scope0_id, "#text/2")} `);
+ _html_opens("__tests__/template.marko:3:1"), _html(`${_escape(value)}${_el_resume($scope0_id, "#text/1")} ${_escape(typeof value)}${_el_resume($scope0_id, "#text/2")} `);
writeScope($scope0_id, { "#childScope/0": _existing_scope($childScope) }, "__tests__/template.marko", 0);
_resume_branch($scope0_id);
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-input-number-modifier-value/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-input-number-modifier-value/__snapshots__/html.bundle.debug.js
index b05a56411d9..777e92b9441 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-input-number-modifier-value/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-input-number-modifier-value/__snapshots__/html.bundle.debug.js
@@ -3,7 +3,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
let value = 0;
- _html(` {
+ _html_opens("__tests__/template.marko:2:1", "__tests__/template.marko:3:1"), _html(` {
value = parseInt(_new_value);
}, "__tests__/template.marko_0/valueChange", $scope0_id))} type=number>${_el_resume($scope0_id, "#input/0")}${_escape(value)}${_el_resume($scope0_id, "#text/1")} ${_escape(typeof value)}${_el_resume($scope0_id, "#text/2")} `);
_script($scope0_id, "__tests__/template.marko_0");
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-input-value-spread/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-input-value-spread/__snapshots__/html.bundle.debug.js
index dcc89791087..f2d2ce757b7 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-input-value-spread/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-input-value-spread/__snapshots__/html.bundle.debug.js
@@ -2,7 +2,7 @@
var my_input_default = _template("__tests__/tags/my-input.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
- _html(` ${_el_resume($scope0_id, "#input/0")}`);
+ _html_opens("__tests__/tags/my-input.marko:1:1"), _html(` ${_el_resume($scope0_id, "#input/0")}`);
_script($scope0_id, "__tests__/tags/my-input.marko_0_input");
writeScope($scope0_id, {}, "__tests__/tags/my-input.marko", 0);
});
@@ -20,7 +20,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
value = _new_value;
}, "__tests__/template.marko_0/valueChange", $scope0_id)
});
- _html(`${_escape(value)}${_el_resume($scope0_id, "#text/1")} `);
+ _html_opens("__tests__/template.marko:3:1"), _html(`${_escape(value)}${_el_resume($scope0_id, "#text/1")} `);
writeScope($scope0_id, { "#childScope/0": _existing_scope($childScope) }, "__tests__/template.marko", 0);
_resume_branch($scope0_id);
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-input-value/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-input-value/__snapshots__/html.bundle.debug.js
index a7c6d4abf07..e2be0664da3 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-input-value/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-input-value/__snapshots__/html.bundle.debug.js
@@ -3,7 +3,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
let value = "hello";
- _html(` {
+ _html_opens("__tests__/template.marko:2:1", "__tests__/template.marko:3:1"), _html(` {
value = _new_value;
}, "__tests__/template.marko_0/valueChange", $scope0_id))} type=text>${_el_resume($scope0_id, "#input/0")}${_escape(value)}${_el_resume($scope0_id, "#text/1")} `);
_script($scope0_id, "__tests__/template.marko_0");
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-merged-spread/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-merged-spread/__snapshots__/html.bundle.debug.js
index 1cfa1583dfd..f9dd48cf13c 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-merged-spread/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-merged-spread/__snapshots__/html.bundle.debug.js
@@ -7,7 +7,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
value: "z",
placeholder: "p"
};
- _html(`pick ${_el_resume($scope0_id, "#button/0")} pick${_el_resume($scope0_id, "#button/0")} {
const $scope0_id = _scope_id();
let v = "a";
let rest = { placeholder: "p" };
- _html(`respread ${_el_resume($scope0_id, "#button/0")} {
+ _html_opens("__tests__/template.marko:3:1", "__tests__/template.marko:4:1", "__tests__/template.marko:5:1"), _html(`respread ${_el_resume($scope0_id, "#button/0")} {
v = _new_v;
}, "__tests__/template.marko_0/valueChange", $scope0_id))}${_attrs_partial(rest, {
value: 1,
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-partial-spread/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-partial-spread/__snapshots__/html.bundle.debug.js
index 5a474d61bf5..66b8c4cea04 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-partial-spread/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-partial-spread/__snapshots__/html.bundle.debug.js
@@ -4,7 +4,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
const $scope0_id = _scope_id();
let v = "a";
const rest = { placeholder: "p" };
- _html(`inc ${_el_resume($scope0_id, "#button/0")} inc${_el_resume($scope0_id, "#button/0")} ${_el_resume($scope0_id, "#input/1")} {
const $checkedValueChange = _resume((_new_checkedValue) => {
checkedValue = _new_checkedValue;
}, "__tests__/template.marko_0/checkedValueChange2", $scope0_id);
- _html(`v=${_escape(checkedValue)}${_el_resume($scope0_id, "#text/3")} `);
+ _html_opens("__tests__/template.marko:2:1", "__tests__/template.marko:3:3", "__tests__/template.marko:4:3", "__tests__/template.marko:5:3", "__tests__/template.marko:6:3", "__tests__/template.marko:8:1"), _html(`v=${_escape(checkedValue)}${_el_resume($scope0_id, "#text/3")} `);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, { $checkedValueChange }, "__tests__/template.marko", 0, { $checkedValueChange: 0 });
_resume_branch($scope0_id);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-dynamic-spread/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-dynamic-spread/__snapshots__/html.bundle.debug.js
index e2b1a8a088e..3215f2c2ed3 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-dynamic-spread/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-dynamic-spread/__snapshots__/html.bundle.debug.js
@@ -12,11 +12,11 @@ var template_default = _template("__tests__/template.marko", (input) => {
}, _content_resume("__tests__/template.marko_1_content", () => {
const $scope1_id = _scope_id();
_scope_reason();
- _html(`A ${_el_resume($scope1_id, "#option/0")}B ${_el_resume($scope1_id, "#option/1")}C ${_el_resume($scope1_id, "#option/2")}`);
+ _html_opens("__tests__/template.marko:4:3", "__tests__/template.marko:5:3", "__tests__/template.marko:6:3"), _html(`A ${_el_resume($scope1_id, "#option/0")}B ${_el_resume($scope1_id, "#option/1")}C ${_el_resume($scope1_id, "#option/2")}`);
_script($scope1_id, "__tests__/template.marko_1");
writeScope($scope1_id, {}, "__tests__/template.marko", "3:4");
- }, $scope0_id));
- _html(`${_escape(value)}${_el_resume($scope0_id, "#text/1")} `);
+ }, $scope0_id), void 0, void 0, "__tests__/template.marko:3:1");
+ _html_opens("__tests__/template.marko:8:1"), _html(`${_escape(value)}${_el_resume($scope0_id, "#text/1")} `);
writeScope($scope0_id, { tag }, "__tests__/template.marko", 0, { tag: "2:8" });
_resume_branch($scope0_id);
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-empty-value-spread/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-empty-value-spread/__snapshots__/html.bundle.debug.js
index 937a184568d..e77e6fb9a36 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-empty-value-spread/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-empty-value-spread/__snapshots__/html.bundle.debug.js
@@ -7,9 +7,9 @@ var template_default = _template("__tests__/template.marko", (input) => {
_attr_select_value($scope0_id, "#select/0", value, _resume(function(v) {
value = v;
}, "__tests__/template.marko_0/valueChange", $scope0_id), () => {
- _html(`-- choose -- ${_el_resume($scope0_id, "#option/1")}A B `);
+ _html_opens("__tests__/template.marko:3:1", "__tests__/template.marko:4:3", "__tests__/template.marko:5:3", "__tests__/template.marko:6:3"), _html(`-- choose -- ${_el_resume($scope0_id, "#option/1")}A B `);
});
- _html(`${_el_resume($scope0_id, "#select/0")}${value === undefined ? "undefined" : _escape("value=" + value)}${_el_resume($scope0_id, "#text/2")} `);
+ _html_opens("__tests__/template.marko:8:1"), _html(`${_el_resume($scope0_id, "#select/0")}${value === undefined ? "undefined" : _escape("value=" + value)}${_el_resume($scope0_id, "#text/2")} `);
_script($scope0_id, "__tests__/template.marko_0_placeholder");
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, {}, "__tests__/template.marko", 0);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-multiple-reordered/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-multiple-reordered/__snapshots__/html.bundle.debug.js
index db2f8133381..d14152889d4 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-multiple-reordered/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-multiple-reordered/__snapshots__/html.bundle.debug.js
@@ -11,14 +11,14 @@ var template_default = _template("__tests__/template.marko", (input) => {
_attr_select_value($scope0_id, "#select/0", selected, _resume(function(v) {
selected = v;
}, "__tests__/template.marko_0/valueChange", $scope0_id), () => {
- _html("");
+ _html_opens("__tests__/template.marko:3:1"), _html("");
_for_of(options, (opt) => {
const $scope1_id = _scope_id();
- _html(`${_escape(opt)}${_el_resume($scope1_id, "#text/1")} ${_el_resume($scope1_id, "#option/0")}`);
+ _html_opens("__tests__/template.marko:5:5"), _html(`${_escape(opt)}${_el_resume($scope1_id, "#text/1")} ${_el_resume($scope1_id, "#option/0")}`);
writeScope($scope1_id, {}, "__tests__/template.marko", "4:4");
}, (v) => v, $scope0_id, "#select/0", 1, 1, 1, " ", 1);
});
- _html(`sel:${_escape(selected.join(","))}${_el_resume($scope0_id, "#text/1")} Add ${_el_resume($scope0_id, "#button/2")}`);
+ _html_opens("__tests__/template.marko:8:1", "__tests__/template.marko:9:1"), _html(`sel:${_escape(selected.join(","))}${_el_resume($scope0_id, "#text/1")} Add ${_el_resume($scope0_id, "#button/2")}`);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, { options }, "__tests__/template.marko", 0, { options: "1:6" });
_resume_branch($scope0_id);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-multiple-value-number/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-multiple-value-number/__snapshots__/html.bundle.debug.js
index 4bfa85a15e9..3115c14ac70 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-multiple-value-number/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-multiple-value-number/__snapshots__/html.bundle.debug.js
@@ -6,9 +6,9 @@ var template_default = _template("__tests__/template.marko", (input) => {
_attr_select_value($scope0_id, "#select/0", selected, _resume(function(v) {
selected = v.map((it) => Number(it));
}, "__tests__/template.marko_0/valueChange", $scope0_id), () => {
- _html(` `);
+ _html_opens("__tests__/template.marko:3:1", "__tests__/template.marko:4:3", "__tests__/template.marko:5:3", "__tests__/template.marko:6:3"), _html(` `);
});
- _html(`${_el_resume($scope0_id, "#select/0")}${_escape(selected)}${_el_resume($scope0_id, "#text/1")} Reset ${_el_resume($scope0_id, "#button/2")}`);
+ _html_opens("__tests__/template.marko:9:1", "__tests__/template.marko:11:1"), _html(`${_el_resume($scope0_id, "#select/0")}${_escape(selected)}${_el_resume($scope0_id, "#text/1")} Reset ${_el_resume($scope0_id, "#button/2")}`);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, {}, "__tests__/template.marko", 0);
_resume_branch($scope0_id);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-mutated-option/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-mutated-option/__snapshots__/html.bundle.debug.js
index 2b0538288cd..84b62fd9867 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-mutated-option/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-mutated-option/__snapshots__/html.bundle.debug.js
@@ -8,18 +8,18 @@ var template_default = _template("__tests__/template.marko", (input) => {
3
];
let value = options[0];
- _html("${_escape(value)}${_el_resume($scope0_id, "#text/1")}
Remove option ${_el_resume($scope0_id, "#button/2")}Add option ${_el_resume($scope0_id, "#button/3")}`);
+ _html_opens("__tests__/template.marko:9:3", "__tests__/template.marko:11:1", "__tests__/template.marko:12:1", "__tests__/template.marko:16:1"), _html(`reset ${_escape(value)}${_el_resume($scope0_id, "#text/1")}
Remove option ${_el_resume($scope0_id, "#button/2")}Add option ${_el_resume($scope0_id, "#button/3")}`);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, { options }, "__tests__/template.marko", 0, { options: "1:6" });
_resume_branch($scope0_id);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-no-match/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-no-match/__snapshots__/html.bundle.debug.js
index 5399e5b31d1..58b66651a6f 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-no-match/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-no-match/__snapshots__/html.bundle.debug.js
@@ -6,9 +6,9 @@ var template_default = _template("__tests__/template.marko", (input) => {
_attr_select_value($scope0_id, "#select/0", value, _resume(function(v) {
value = v;
}, "__tests__/template.marko_0/valueChange", $scope0_id), () => {
- _html(`A B C `);
+ _html_opens("__tests__/template.marko:2:1", "__tests__/template.marko:3:3", "__tests__/template.marko:4:3", "__tests__/template.marko:5:3"), _html(`A B C `);
});
- _html(`${_el_resume($scope0_id, "#select/0")}${_escape(value)}${_el_resume($scope0_id, "#text/1")} `);
+ _html_opens("__tests__/template.marko:7:1"), _html(`${_el_resume($scope0_id, "#select/0")}${_escape(value)}${_el_resume($scope0_id, "#text/1")} `);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, {}, "__tests__/template.marko", 0);
_resume_branch($scope0_id);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-spread/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-spread/__snapshots__/html.bundle.debug.js
index d44f1034aeb..8d105dcd0ce 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-spread/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-spread/__snapshots__/html.bundle.debug.js
@@ -3,7 +3,7 @@ var my_select_default = _template("__tests__/tags/my-select.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
const $select_input = input;
- _html(" {
_attrs_content($select_input, "#select/0", $scope0_id, "select");
_html(" ");
@@ -27,10 +27,10 @@ var template_default = _template("__tests__/template.marko", (input) => {
content: _content("__tests__/template.marko_1_content", () => {
_scope_reason();
const $scope1_id = _scope_id();
- _html(`A B C `);
+ _html_opens("__tests__/template.marko:3:3", "__tests__/template.marko:4:3", "__tests__/template.marko:5:3"), _html(`A B C `);
})
});
- _html(`${_escape(value)}${_el_resume($scope0_id, "#text/1")} `);
+ _html_opens("__tests__/template.marko:7:1"), _html(`${_escape(value)}${_el_resume($scope0_id, "#text/1")} `);
writeScope($scope0_id, { "#childScope/0": _existing_scope($childScope) }, "__tests__/template.marko", 0);
_resume_branch($scope0_id);
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-value-bigint/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-value-bigint/__snapshots__/html.bundle.debug.js
index 8bc5958ac72..751d557b35a 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-value-bigint/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-value-bigint/__snapshots__/html.bundle.debug.js
@@ -6,7 +6,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
_attr_select_value($scope0_id, "#select/0", value, _resume(function(v) {
value = v;
}, "__tests__/template.marko_0/valueChange", $scope0_id), () => {
- _html(`empty zero one `);
+ _html_opens("__tests__/template.marko:2:1", "__tests__/template.marko:3:3", "__tests__/template.marko:4:3", "__tests__/template.marko:5:3"), _html(`empty zero one `);
});
_html(_el_resume($scope0_id, "#select/0"));
_script($scope0_id, "__tests__/template.marko_0");
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-value-nan/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-value-nan/__snapshots__/html.bundle.debug.js
index cca54b80506..e6459f2051a 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-value-nan/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-value-nan/__snapshots__/html.bundle.debug.js
@@ -6,7 +6,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
_attr_select_value($scope0_id, "#select/0", value, _resume(function(v) {
value = v;
}, "__tests__/template.marko_0/valueChange", $scope0_id), () => {
- _html(`empty nan zero `);
+ _html_opens("__tests__/template.marko:2:1", "__tests__/template.marko:3:3", "__tests__/template.marko:4:3", "__tests__/template.marko:5:3"), _html(`empty nan zero `);
});
_html(_el_resume($scope0_id, "#select/0"));
_script($scope0_id, "__tests__/template.marko_0");
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-value-number/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-value-number/__snapshots__/html.bundle.debug.js
index f060c6af277..acc943d46c7 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-select-value-number/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-select-value-number/__snapshots__/html.bundle.debug.js
@@ -6,9 +6,9 @@ var template_default = _template("__tests__/template.marko", (input) => {
_attr_select_value($scope0_id, "#select/0", selected, _resume(function(v) {
selected = +v;
}, "__tests__/template.marko_0/valueChange", $scope0_id), () => {
- _html(` `);
+ _html_opens("__tests__/template.marko:3:1", "__tests__/template.marko:4:3", "__tests__/template.marko:5:3", "__tests__/template.marko:6:3"), _html(` `);
});
- _html(`${_el_resume($scope0_id, "#select/0")}${_escape(selected)}${_el_resume($scope0_id, "#text/1")} Reset ${_el_resume($scope0_id, "#button/2")}`);
+ _html_opens("__tests__/template.marko:9:1", "__tests__/template.marko:11:1"), _html(`${_el_resume($scope0_id, "#select/0")}${_escape(selected)}${_el_resume($scope0_id, "#text/1")} Reset ${_el_resume($scope0_id, "#button/2")}`);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, {}, "__tests__/template.marko", 0);
_resume_branch($scope0_id);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-select/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-select/__snapshots__/html.bundle.debug.js
index d776a60c089..69400720c14 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-select/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-select/__snapshots__/html.bundle.debug.js
@@ -6,9 +6,9 @@ var template_default = _template("__tests__/template.marko", (input) => {
_attr_select_value($scope0_id, "#select/0", value, _resume(function(v) {
value = v;
}, "__tests__/template.marko_0/valueChange", $scope0_id), () => {
- _html(`A B C `);
+ _html_opens("__tests__/template.marko:2:1", "__tests__/template.marko:3:3", "__tests__/template.marko:4:3", "__tests__/template.marko:5:3"), _html(`A B C `);
});
- _html(`${_el_resume($scope0_id, "#select/0")}${_escape(value)}${_el_resume($scope0_id, "#text/1")} `);
+ _html_opens("__tests__/template.marko:7:1"), _html(`${_el_resume($scope0_id, "#select/0")}${_escape(value)}${_el_resume($scope0_id, "#text/1")} `);
_script($scope0_id, "__tests__/template.marko_0");
writeScope($scope0_id, {}, "__tests__/template.marko", 0);
_resume_branch($scope0_id);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-textarea-value-spread/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-textarea-value-spread/__snapshots__/html.bundle.debug.js
index 9d2b233d5c9..48c6c328c2a 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-textarea-value-spread/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-textarea-value-spread/__snapshots__/html.bundle.debug.js
@@ -3,7 +3,7 @@ var my_textarea_default = _template("__tests__/tags/my-textarea.marko", (input)
_scope_reason();
const $scope0_id = _scope_id();
const $textarea_input = input;
- _html(`${_el_resume($scope0_id, "#textarea/0")}`);
+ _html_opens("__tests__/tags/my-textarea.marko:1:1"), _html(`${_el_resume($scope0_id, "#textarea/0")}`);
_script($scope0_id, "__tests__/tags/my-textarea.marko_0_input");
writeScope($scope0_id, {}, "__tests__/tags/my-textarea.marko", 0);
});
@@ -20,7 +20,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
value = _new_value;
}, "__tests__/template.marko_0/valueChange", $scope0_id)
});
- _html(`${_escape(value)}${_el_resume($scope0_id, "#text/1")} `);
+ _html_opens("__tests__/template.marko:3:1"), _html(`${_escape(value)}${_el_resume($scope0_id, "#text/1")} `);
writeScope($scope0_id, { "#childScope/0": _existing_scope($childScope) }, "__tests__/template.marko", 0);
_resume_branch($scope0_id);
}, 1);
diff --git a/packages/runtime-tags/src/__tests__/fixtures/controllable-textarea-value/__snapshots__/html.bundle.debug.js b/packages/runtime-tags/src/__tests__/fixtures/controllable-textarea-value/__snapshots__/html.bundle.debug.js
index 573ca218c6a..fd7afcb1efe 100644
--- a/packages/runtime-tags/src/__tests__/fixtures/controllable-textarea-value/__snapshots__/html.bundle.debug.js
+++ b/packages/runtime-tags/src/__tests__/fixtures/controllable-textarea-value/__snapshots__/html.bundle.debug.js
@@ -3,7 +3,7 @@ var template_default = _template("__tests__/template.marko", (input) => {
_scope_reason();
const $scope0_id = _scope_id();
let value = "hello";
- _html(`