diff --git a/test/js/samples/collapses-text-around-comments/expected-bundle.js b/test/js/samples/collapses-text-around-comments/expected-bundle.js index 5a321c0311..2e58552394 100644 --- a/test/js/samples/collapses-text-around-comments/expected-bundle.js +++ b/test/js/samples/collapses-text-around-comments/expected-bundle.js @@ -171,7 +171,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -252,7 +252,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/collapses-text-around-comments/expected.js b/test/js/samples/collapses-text-around-comments/expected.js index 17e612b644..ac6fe0181b 100644 --- a/test/js/samples/collapses-text-around-comments/expected.js +++ b/test/js/samples/collapses-text-around-comments/expected.js @@ -59,7 +59,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/component-static-immutable/expected-bundle.js b/test/js/samples/component-static-immutable/expected-bundle.js index 047169075a..090f3ccf3b 100644 --- a/test/js/samples/component-static-immutable/expected-bundle.js +++ b/test/js/samples/component-static-immutable/expected-bundle.js @@ -151,7 +151,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -219,7 +219,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/component-static-immutable/expected.js b/test/js/samples/component-static-immutable/expected.js index 647b068179..153c6810f2 100644 --- a/test/js/samples/component-static-immutable/expected.js +++ b/test/js/samples/component-static-immutable/expected.js @@ -45,7 +45,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/component-static-immutable2/expected-bundle.js b/test/js/samples/component-static-immutable2/expected-bundle.js index 047169075a..090f3ccf3b 100644 --- a/test/js/samples/component-static-immutable2/expected-bundle.js +++ b/test/js/samples/component-static-immutable2/expected-bundle.js @@ -151,7 +151,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -219,7 +219,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/component-static-immutable2/expected.js b/test/js/samples/component-static-immutable2/expected.js index 647b068179..153c6810f2 100644 --- a/test/js/samples/component-static-immutable2/expected.js +++ b/test/js/samples/component-static-immutable2/expected.js @@ -45,7 +45,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/component-static/expected-bundle.js b/test/js/samples/component-static/expected-bundle.js index 5798f22df2..5853ee8b52 100644 --- a/test/js/samples/component-static/expected-bundle.js +++ b/test/js/samples/component-static/expected-bundle.js @@ -147,7 +147,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -215,7 +215,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/component-static/expected.js b/test/js/samples/component-static/expected.js index a689848dc0..26b1381047 100644 --- a/test/js/samples/component-static/expected.js +++ b/test/js/samples/component-static/expected.js @@ -45,7 +45,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/computed-collapsed-if/expected-bundle.js b/test/js/samples/computed-collapsed-if/expected-bundle.js index 08d3d2fca9..5269391741 100644 --- a/test/js/samples/computed-collapsed-if/expected-bundle.js +++ b/test/js/samples/computed-collapsed-if/expected-bundle.js @@ -147,7 +147,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -203,7 +203,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/computed-collapsed-if/expected.js b/test/js/samples/computed-collapsed-if/expected.js index d87ef16f92..5e1728bacf 100644 --- a/test/js/samples/computed-collapsed-if/expected.js +++ b/test/js/samples/computed-collapsed-if/expected.js @@ -33,7 +33,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/css-media-query/expected-bundle.js b/test/js/samples/css-media-query/expected-bundle.js index 51f7c56732..a05d9980f9 100644 --- a/test/js/samples/css-media-query/expected-bundle.js +++ b/test/js/samples/css-media-query/expected-bundle.js @@ -167,7 +167,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -239,7 +239,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/css-media-query/expected.js b/test/js/samples/css-media-query/expected.js index 6e03ca0a0a..d5fa749559 100644 --- a/test/js/samples/css-media-query/expected.js +++ b/test/js/samples/css-media-query/expected.js @@ -49,7 +49,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/css-shadow-dom-keyframes/expected-bundle.js b/test/js/samples/css-shadow-dom-keyframes/expected-bundle.js index 9ed1bbcef8..ed607a1822 100644 --- a/test/js/samples/css-shadow-dom-keyframes/expected-bundle.js +++ b/test/js/samples/css-shadow-dom-keyframes/expected-bundle.js @@ -159,7 +159,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { diff --git a/test/js/samples/deconflict-globals/expected-bundle.js b/test/js/samples/deconflict-globals/expected-bundle.js index e210ffe3ac..8bd863b938 100644 --- a/test/js/samples/deconflict-globals/expected-bundle.js +++ b/test/js/samples/deconflict-globals/expected-bundle.js @@ -147,7 +147,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -211,7 +211,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); callAll(this._oncreate); } diff --git a/test/js/samples/deconflict-globals/expected.js b/test/js/samples/deconflict-globals/expected.js index d740fe634d..b3cba40e20 100644 --- a/test/js/samples/deconflict-globals/expected.js +++ b/test/js/samples/deconflict-globals/expected.js @@ -42,7 +42,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); callAll(this._oncreate); } diff --git a/test/js/samples/do-use-dataset/expected-bundle.js b/test/js/samples/do-use-dataset/expected-bundle.js index 229e4a3450..aa771127c9 100644 --- a/test/js/samples/do-use-dataset/expected-bundle.js +++ b/test/js/samples/do-use-dataset/expected-bundle.js @@ -163,7 +163,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -233,7 +233,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/do-use-dataset/expected.js b/test/js/samples/do-use-dataset/expected.js index 27a335d0a6..74a14dd0f9 100644 --- a/test/js/samples/do-use-dataset/expected.js +++ b/test/js/samples/do-use-dataset/expected.js @@ -47,7 +47,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/dont-use-dataset-in-legacy/expected-bundle.js b/test/js/samples/dont-use-dataset-in-legacy/expected-bundle.js index 75ce562da6..d532914b7e 100644 --- a/test/js/samples/dont-use-dataset-in-legacy/expected-bundle.js +++ b/test/js/samples/dont-use-dataset-in-legacy/expected-bundle.js @@ -167,7 +167,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -237,7 +237,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/dont-use-dataset-in-legacy/expected.js b/test/js/samples/dont-use-dataset-in-legacy/expected.js index e9062d7ba1..5d47666a98 100644 --- a/test/js/samples/dont-use-dataset-in-legacy/expected.js +++ b/test/js/samples/dont-use-dataset-in-legacy/expected.js @@ -47,7 +47,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/dont-use-dataset-in-svg/expected-bundle.js b/test/js/samples/dont-use-dataset-in-svg/expected-bundle.js index 6cd012d4b7..f299b5b8e8 100644 --- a/test/js/samples/dont-use-dataset-in-svg/expected-bundle.js +++ b/test/js/samples/dont-use-dataset-in-svg/expected-bundle.js @@ -167,7 +167,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -235,7 +235,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/dont-use-dataset-in-svg/expected.js b/test/js/samples/dont-use-dataset-in-svg/expected.js index 9e541886bc..e5cf46fcbd 100644 --- a/test/js/samples/dont-use-dataset-in-svg/expected.js +++ b/test/js/samples/dont-use-dataset-in-svg/expected.js @@ -45,7 +45,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/each-block-changed-check/expected-bundle.js b/test/js/samples/each-block-changed-check/expected-bundle.js index 11916f82b4..e5fbf4c884 100644 --- a/test/js/samples/each-block-changed-check/expected-bundle.js +++ b/test/js/samples/each-block-changed-check/expected-bundle.js @@ -179,7 +179,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -360,7 +360,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/each-block-changed-check/expected.js b/test/js/samples/each-block-changed-check/expected.js index 2eb66567a6..68617bd207 100644 --- a/test/js/samples/each-block-changed-check/expected.js +++ b/test/js/samples/each-block-changed-check/expected.js @@ -158,7 +158,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/event-handlers-custom/expected-bundle.js b/test/js/samples/event-handlers-custom/expected-bundle.js index 25f4ea324a..55eb888b29 100644 --- a/test/js/samples/event-handlers-custom/expected-bundle.js +++ b/test/js/samples/event-handlers-custom/expected-bundle.js @@ -159,7 +159,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -233,7 +233,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/event-handlers-custom/expected.js b/test/js/samples/event-handlers-custom/expected.js index 785fefbeef..79eee1454a 100644 --- a/test/js/samples/event-handlers-custom/expected.js +++ b/test/js/samples/event-handlers-custom/expected.js @@ -52,7 +52,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/head-no-whitespace/expected-bundle.js b/test/js/samples/head-no-whitespace/expected-bundle.js index f3eec8c97b..804d8f8991 100644 --- a/test/js/samples/head-no-whitespace/expected-bundle.js +++ b/test/js/samples/head-no-whitespace/expected-bundle.js @@ -159,7 +159,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -224,7 +224,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/head-no-whitespace/expected.js b/test/js/samples/head-no-whitespace/expected.js index 9ba161c69d..9bf8e8370d 100644 --- a/test/js/samples/head-no-whitespace/expected.js +++ b/test/js/samples/head-no-whitespace/expected.js @@ -42,7 +42,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/if-block-no-update/expected-bundle.js b/test/js/samples/if-block-no-update/expected-bundle.js index 662f80f0aa..2606f3de0b 100644 --- a/test/js/samples/if-block-no-update/expected-bundle.js +++ b/test/js/samples/if-block-no-update/expected-bundle.js @@ -163,7 +163,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -281,7 +281,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/if-block-no-update/expected.js b/test/js/samples/if-block-no-update/expected.js index 31b4b0f7a4..ce11747151 100644 --- a/test/js/samples/if-block-no-update/expected.js +++ b/test/js/samples/if-block-no-update/expected.js @@ -95,7 +95,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/if-block-simple/expected-bundle.js b/test/js/samples/if-block-simple/expected-bundle.js index 9298283711..7d4b12bbbf 100644 --- a/test/js/samples/if-block-simple/expected-bundle.js +++ b/test/js/samples/if-block-simple/expected-bundle.js @@ -163,7 +163,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -258,7 +258,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/if-block-simple/expected.js b/test/js/samples/if-block-simple/expected.js index 4c999546c0..35ad2dcf81 100644 --- a/test/js/samples/if-block-simple/expected.js +++ b/test/js/samples/if-block-simple/expected.js @@ -72,7 +72,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/inline-style-optimized-multiple/expected-bundle.js b/test/js/samples/inline-style-optimized-multiple/expected-bundle.js index 682b3f0423..86ae0aaf8e 100644 --- a/test/js/samples/inline-style-optimized-multiple/expected-bundle.js +++ b/test/js/samples/inline-style-optimized-multiple/expected-bundle.js @@ -163,7 +163,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -231,7 +231,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/inline-style-optimized-multiple/expected.js b/test/js/samples/inline-style-optimized-multiple/expected.js index ce3ffda243..3c84da0774 100644 --- a/test/js/samples/inline-style-optimized-multiple/expected.js +++ b/test/js/samples/inline-style-optimized-multiple/expected.js @@ -45,7 +45,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/inline-style-optimized-url/expected-bundle.js b/test/js/samples/inline-style-optimized-url/expected-bundle.js index 38f088a8e7..f8142a8a12 100644 --- a/test/js/samples/inline-style-optimized-url/expected-bundle.js +++ b/test/js/samples/inline-style-optimized-url/expected-bundle.js @@ -163,7 +163,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -226,7 +226,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/inline-style-optimized-url/expected.js b/test/js/samples/inline-style-optimized-url/expected.js index 376cad092a..8ef2fe0b15 100644 --- a/test/js/samples/inline-style-optimized-url/expected.js +++ b/test/js/samples/inline-style-optimized-url/expected.js @@ -40,7 +40,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/inline-style-optimized/expected-bundle.js b/test/js/samples/inline-style-optimized/expected-bundle.js index e875dfc740..432619f817 100644 --- a/test/js/samples/inline-style-optimized/expected-bundle.js +++ b/test/js/samples/inline-style-optimized/expected-bundle.js @@ -163,7 +163,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -226,7 +226,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/inline-style-optimized/expected.js b/test/js/samples/inline-style-optimized/expected.js index 74c4b6f417..0efa7e34fb 100644 --- a/test/js/samples/inline-style-optimized/expected.js +++ b/test/js/samples/inline-style-optimized/expected.js @@ -40,7 +40,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/inline-style-unoptimized/expected-bundle.js b/test/js/samples/inline-style-unoptimized/expected-bundle.js index 77a78ca5c0..3ecbc5cc56 100644 --- a/test/js/samples/inline-style-unoptimized/expected-bundle.js +++ b/test/js/samples/inline-style-unoptimized/expected-bundle.js @@ -163,7 +163,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -237,7 +237,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/inline-style-unoptimized/expected.js b/test/js/samples/inline-style-unoptimized/expected.js index 04e1226f6d..89a7bc51e4 100644 --- a/test/js/samples/inline-style-unoptimized/expected.js +++ b/test/js/samples/inline-style-unoptimized/expected.js @@ -51,7 +51,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/input-without-blowback-guard/expected-bundle.js b/test/js/samples/input-without-blowback-guard/expected-bundle.js index 64b1dd79ad..5c5fbeeb01 100644 --- a/test/js/samples/input-without-blowback-guard/expected-bundle.js +++ b/test/js/samples/input-without-blowback-guard/expected-bundle.js @@ -167,7 +167,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -237,7 +237,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/input-without-blowback-guard/expected.js b/test/js/samples/input-without-blowback-guard/expected.js index d313c7c01d..7a6926b406 100644 --- a/test/js/samples/input-without-blowback-guard/expected.js +++ b/test/js/samples/input-without-blowback-guard/expected.js @@ -47,7 +47,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/legacy-default/expected-bundle.js b/test/js/samples/legacy-default/expected-bundle.js index ce2e08302b..b46e8293da 100644 --- a/test/js/samples/legacy-default/expected-bundle.js +++ b/test/js/samples/legacy-default/expected-bundle.js @@ -181,7 +181,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -275,7 +275,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/legacy-default/expected.js b/test/js/samples/legacy-default/expected.js index 6c90bb8f13..f1edfcc6d4 100644 --- a/test/js/samples/legacy-default/expected.js +++ b/test/js/samples/legacy-default/expected.js @@ -71,7 +71,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/legacy-input-type/expected-bundle.js b/test/js/samples/legacy-input-type/expected-bundle.js index 69d4f501dc..f79e8420d1 100644 --- a/test/js/samples/legacy-input-type/expected-bundle.js +++ b/test/js/samples/legacy-input-type/expected-bundle.js @@ -165,7 +165,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -224,7 +224,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/legacy-input-type/expected.js b/test/js/samples/legacy-input-type/expected.js index 5236b758dc..705fe79d96 100644 --- a/test/js/samples/legacy-input-type/expected.js +++ b/test/js/samples/legacy-input-type/expected.js @@ -36,7 +36,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/legacy-quote-class/expected-bundle.js b/test/js/samples/legacy-quote-class/expected-bundle.js index acc11efb5c..3ffb2890c6 100644 --- a/test/js/samples/legacy-quote-class/expected-bundle.js +++ b/test/js/samples/legacy-quote-class/expected-bundle.js @@ -182,7 +182,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -251,7 +251,7 @@ function SvelteComponent(options) { var nodes = children(options.target); options.hydrate ? this._fragment.l(nodes) : this._fragment.c(); nodes.forEach(detachNode); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/legacy-quote-class/expected.js b/test/js/samples/legacy-quote-class/expected.js index 76490fd6f9..bc489b5fcc 100644 --- a/test/js/samples/legacy-quote-class/expected.js +++ b/test/js/samples/legacy-quote-class/expected.js @@ -46,7 +46,7 @@ function SvelteComponent(options) { var nodes = children(options.target); options.hydrate ? this._fragment.l(nodes) : this._fragment.c(); nodes.forEach(detachNode); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/media-bindings/expected-bundle.js b/test/js/samples/media-bindings/expected-bundle.js index 552a17c725..84634ed65e 100644 --- a/test/js/samples/media-bindings/expected-bundle.js +++ b/test/js/samples/media-bindings/expected-bundle.js @@ -175,7 +175,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -295,7 +295,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); callAll(this._beforecreate); } diff --git a/test/js/samples/media-bindings/expected.js b/test/js/samples/media-bindings/expected.js index 527e233cfd..db71a78a55 100644 --- a/test/js/samples/media-bindings/expected.js +++ b/test/js/samples/media-bindings/expected.js @@ -97,7 +97,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); callAll(this._beforecreate); } diff --git a/test/js/samples/non-imported-component/expected-bundle.js b/test/js/samples/non-imported-component/expected-bundle.js index 85a5f677a9..f4045659d3 100644 --- a/test/js/samples/non-imported-component/expected-bundle.js +++ b/test/js/samples/non-imported-component/expected-bundle.js @@ -161,7 +161,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -240,7 +240,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/non-imported-component/expected.js b/test/js/samples/non-imported-component/expected.js index 089e8db6e5..2d28036e8d 100644 --- a/test/js/samples/non-imported-component/expected.js +++ b/test/js/samples/non-imported-component/expected.js @@ -57,7 +57,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/onrender-onteardown-rewritten/expected-bundle.js b/test/js/samples/onrender-onteardown-rewritten/expected-bundle.js index 09775d1f81..0146c27bf6 100644 --- a/test/js/samples/onrender-onteardown-rewritten/expected-bundle.js +++ b/test/js/samples/onrender-onteardown-rewritten/expected-bundle.js @@ -147,7 +147,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -206,7 +206,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); callAll(this._oncreate); } diff --git a/test/js/samples/onrender-onteardown-rewritten/expected.js b/test/js/samples/onrender-onteardown-rewritten/expected.js index 83e8d6200f..87c1cd6591 100644 --- a/test/js/samples/onrender-onteardown-rewritten/expected.js +++ b/test/js/samples/onrender-onteardown-rewritten/expected.js @@ -38,7 +38,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); callAll(this._oncreate); } diff --git a/test/js/samples/setup-method/expected-bundle.js b/test/js/samples/setup-method/expected-bundle.js index c30f01edb1..b187353281 100644 --- a/test/js/samples/setup-method/expected-bundle.js +++ b/test/js/samples/setup-method/expected-bundle.js @@ -147,7 +147,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -210,7 +210,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/setup-method/expected.js b/test/js/samples/setup-method/expected.js index e4778f5826..5ec2a8fbb7 100644 --- a/test/js/samples/setup-method/expected.js +++ b/test/js/samples/setup-method/expected.js @@ -40,7 +40,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/svg-title/expected-bundle.js b/test/js/samples/svg-title/expected-bundle.js index 2beb78a678..44b61ea48c 100644 --- a/test/js/samples/svg-title/expected-bundle.js +++ b/test/js/samples/svg-title/expected-bundle.js @@ -167,7 +167,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -225,7 +225,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/svg-title/expected.js b/test/js/samples/svg-title/expected.js index 059d1d804d..e3ffee8334 100644 --- a/test/js/samples/svg-title/expected.js +++ b/test/js/samples/svg-title/expected.js @@ -35,7 +35,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/title/expected-bundle.js b/test/js/samples/title/expected-bundle.js index c37f7cb20a..1aab21c762 100644 --- a/test/js/samples/title/expected-bundle.js +++ b/test/js/samples/title/expected-bundle.js @@ -147,7 +147,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -201,7 +201,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/title/expected.js b/test/js/samples/title/expected.js index d5546cd4c2..3a39eb61e9 100644 --- a/test/js/samples/title/expected.js +++ b/test/js/samples/title/expected.js @@ -31,7 +31,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/use-elements-as-anchors/expected-bundle.js b/test/js/samples/use-elements-as-anchors/expected-bundle.js index 8a4a7817a3..cdc0be6a01 100644 --- a/test/js/samples/use-elements-as-anchors/expected-bundle.js +++ b/test/js/samples/use-elements-as-anchors/expected-bundle.js @@ -171,7 +171,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -448,7 +448,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/use-elements-as-anchors/expected.js b/test/js/samples/use-elements-as-anchors/expected.js index 0ff85d63b0..4732232ed2 100644 --- a/test/js/samples/use-elements-as-anchors/expected.js +++ b/test/js/samples/use-elements-as-anchors/expected.js @@ -254,7 +254,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/window-binding-scroll/expected-bundle.js b/test/js/samples/window-binding-scroll/expected-bundle.js index cac144881d..b911b01faa 100644 --- a/test/js/samples/window-binding-scroll/expected-bundle.js +++ b/test/js/samples/window-binding-scroll/expected-bundle.js @@ -167,7 +167,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -250,7 +250,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/window-binding-scroll/expected.js b/test/js/samples/window-binding-scroll/expected.js index 0c22523b61..0f9b4d3b45 100644 --- a/test/js/samples/window-binding-scroll/expected.js +++ b/test/js/samples/window-binding-scroll/expected.js @@ -60,7 +60,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } }