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 e7b71a79e2..c122117285 100644 --- a/test/js/samples/collapses-text-around-comments/expected-bundle.js +++ b/test/js/samples/collapses-text-around-comments/expected-bundle.js @@ -252,7 +252,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/collapses-text-around-comments/expected.js b/test/js/samples/collapses-text-around-comments/expected.js index ac6fe0181b..1b44fc3493 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/component-static-immutable/expected-bundle.js b/test/js/samples/component-static-immutable/expected-bundle.js index 010d0653ce..c7969997a6 100644 --- a/test/js/samples/component-static-immutable/expected-bundle.js +++ b/test/js/samples/component-static-immutable/expected-bundle.js @@ -219,7 +219,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); 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 153c6810f2..5a60d641c2 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); 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 010d0653ce..c7969997a6 100644 --- a/test/js/samples/component-static-immutable2/expected-bundle.js +++ b/test/js/samples/component-static-immutable2/expected-bundle.js @@ -219,7 +219,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); 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 153c6810f2..5a60d641c2 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); 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 4144c2ed79..ec0d4ddff4 100644 --- a/test/js/samples/component-static/expected-bundle.js +++ b/test/js/samples/component-static/expected-bundle.js @@ -215,7 +215,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); 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 26b1381047..2207d7a8e3 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); 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 623bc00f51..c297a03460 100644 --- a/test/js/samples/computed-collapsed-if/expected-bundle.js +++ b/test/js/samples/computed-collapsed-if/expected-bundle.js @@ -203,7 +203,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/computed-collapsed-if/expected.js b/test/js/samples/computed-collapsed-if/expected.js index 5e1728bacf..2398f4bdee 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/css-media-query/expected-bundle.js b/test/js/samples/css-media-query/expected-bundle.js index 75bab14199..da3fbb3ef8 100644 --- a/test/js/samples/css-media-query/expected-bundle.js +++ b/test/js/samples/css-media-query/expected-bundle.js @@ -239,7 +239,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/css-media-query/expected.js b/test/js/samples/css-media-query/expected.js index d5fa749559..942d330947 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } 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 1f4848a7dd..45aa714ea2 100644 --- a/test/js/samples/css-shadow-dom-keyframes/expected-bundle.js +++ b/test/js/samples/css-shadow-dom-keyframes/expected-bundle.js @@ -221,7 +221,7 @@ class SvelteComponent extends HTMLElement { this._fragment.c(); this._fragment.m(this.shadowRoot, null); - if (options.target) this._mount(options.target, options.anchor || null); + if (options.target) this._mount(options.target, options.anchor); } static get observedAttributes() { diff --git a/test/js/samples/css-shadow-dom-keyframes/expected.js b/test/js/samples/css-shadow-dom-keyframes/expected.js index 39dd83e5cb..7682ec0a40 100644 --- a/test/js/samples/css-shadow-dom-keyframes/expected.js +++ b/test/js/samples/css-shadow-dom-keyframes/expected.js @@ -39,7 +39,7 @@ class SvelteComponent extends HTMLElement { this._fragment.c(); this._fragment.m(this.shadowRoot, null); - if (options.target) this._mount(options.target, options.anchor || null); + if (options.target) this._mount(options.target, options.anchor); } static get observedAttributes() { diff --git a/test/js/samples/deconflict-globals/expected-bundle.js b/test/js/samples/deconflict-globals/expected-bundle.js index 3c46faeecb..050af86e46 100644 --- a/test/js/samples/deconflict-globals/expected-bundle.js +++ b/test/js/samples/deconflict-globals/expected-bundle.js @@ -211,7 +211,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); callAll(this._oncreate); } diff --git a/test/js/samples/deconflict-globals/expected.js b/test/js/samples/deconflict-globals/expected.js index b3cba40e20..8e00df8d4a 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); 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 da36f627b3..ea6c4c26c0 100644 --- a/test/js/samples/do-use-dataset/expected-bundle.js +++ b/test/js/samples/do-use-dataset/expected-bundle.js @@ -233,7 +233,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/do-use-dataset/expected.js b/test/js/samples/do-use-dataset/expected.js index 74a14dd0f9..b88636a606 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } 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 7598379c57..b1a3d273fa 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 @@ -237,7 +237,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } 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 5d47666a98..699da1270b 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } 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 baa0b132e5..311366c776 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 @@ -235,7 +235,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } 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 e5cf46fcbd..4269367254 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } 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 49cdf83001..59b104ef0e 100644 --- a/test/js/samples/each-block-changed-check/expected-bundle.js +++ b/test/js/samples/each-block-changed-check/expected-bundle.js @@ -360,7 +360,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/each-block-changed-check/expected.js b/test/js/samples/each-block-changed-check/expected.js index 68617bd207..f76e10d943 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/event-handlers-custom/expected-bundle.js b/test/js/samples/event-handlers-custom/expected-bundle.js index 4a491f404e..eaf52c8c7d 100644 --- a/test/js/samples/event-handlers-custom/expected-bundle.js +++ b/test/js/samples/event-handlers-custom/expected-bundle.js @@ -233,7 +233,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/event-handlers-custom/expected.js b/test/js/samples/event-handlers-custom/expected.js index 79eee1454a..ecc6f97855 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/head-no-whitespace/expected-bundle.js b/test/js/samples/head-no-whitespace/expected-bundle.js index ee2eb20de7..fe4181879a 100644 --- a/test/js/samples/head-no-whitespace/expected-bundle.js +++ b/test/js/samples/head-no-whitespace/expected-bundle.js @@ -224,7 +224,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/head-no-whitespace/expected.js b/test/js/samples/head-no-whitespace/expected.js index 9bf8e8370d..9818f42116 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } 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 c77458dfcc..bccbabab70 100644 --- a/test/js/samples/if-block-no-update/expected-bundle.js +++ b/test/js/samples/if-block-no-update/expected-bundle.js @@ -281,7 +281,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/if-block-no-update/expected.js b/test/js/samples/if-block-no-update/expected.js index ce11747151..8bcac42cab 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/if-block-simple/expected-bundle.js b/test/js/samples/if-block-simple/expected-bundle.js index 617e526044..684a5aa6f1 100644 --- a/test/js/samples/if-block-simple/expected-bundle.js +++ b/test/js/samples/if-block-simple/expected-bundle.js @@ -258,7 +258,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/if-block-simple/expected.js b/test/js/samples/if-block-simple/expected.js index 35ad2dcf81..11d3ccbdc6 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } 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 dd1832ec90..4df73d50d2 100644 --- a/test/js/samples/inline-style-optimized-multiple/expected-bundle.js +++ b/test/js/samples/inline-style-optimized-multiple/expected-bundle.js @@ -231,7 +231,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/inline-style-optimized-multiple/expected.js b/test/js/samples/inline-style-optimized-multiple/expected.js index 3c84da0774..7a94993b69 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } 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 7d91a28bdf..ad89d07b5e 100644 --- a/test/js/samples/inline-style-optimized-url/expected-bundle.js +++ b/test/js/samples/inline-style-optimized-url/expected-bundle.js @@ -226,7 +226,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/inline-style-optimized-url/expected.js b/test/js/samples/inline-style-optimized-url/expected.js index 8ef2fe0b15..5a27ecfa49 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/inline-style-optimized/expected-bundle.js b/test/js/samples/inline-style-optimized/expected-bundle.js index 8bf63d3afb..b012a321bb 100644 --- a/test/js/samples/inline-style-optimized/expected-bundle.js +++ b/test/js/samples/inline-style-optimized/expected-bundle.js @@ -226,7 +226,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/inline-style-optimized/expected.js b/test/js/samples/inline-style-optimized/expected.js index 0efa7e34fb..86dabe8d21 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/inline-style-unoptimized/expected-bundle.js b/test/js/samples/inline-style-unoptimized/expected-bundle.js index 4660c8dda6..2d36273b6e 100644 --- a/test/js/samples/inline-style-unoptimized/expected-bundle.js +++ b/test/js/samples/inline-style-unoptimized/expected-bundle.js @@ -237,7 +237,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/inline-style-unoptimized/expected.js b/test/js/samples/inline-style-unoptimized/expected.js index 89a7bc51e4..7d7e933c12 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } 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 ea6b3f75d9..0b5089c08d 100644 --- a/test/js/samples/input-without-blowback-guard/expected-bundle.js +++ b/test/js/samples/input-without-blowback-guard/expected-bundle.js @@ -237,7 +237,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/input-without-blowback-guard/expected.js b/test/js/samples/input-without-blowback-guard/expected.js index 7a6926b406..307a26c53c 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/legacy-default/expected-bundle.js b/test/js/samples/legacy-default/expected-bundle.js index 57b8b479fe..534b9d6baa 100644 --- a/test/js/samples/legacy-default/expected-bundle.js +++ b/test/js/samples/legacy-default/expected-bundle.js @@ -275,7 +275,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); 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 f1edfcc6d4..64dc4121c0 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); 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 0977707071..5cc1296a4f 100644 --- a/test/js/samples/legacy-input-type/expected-bundle.js +++ b/test/js/samples/legacy-input-type/expected-bundle.js @@ -224,7 +224,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/legacy-input-type/expected.js b/test/js/samples/legacy-input-type/expected.js index 705fe79d96..2426c06481 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/legacy-quote-class/expected-bundle.js b/test/js/samples/legacy-quote-class/expected-bundle.js index a250e97427..4a20d61232 100644 --- a/test/js/samples/legacy-quote-class/expected-bundle.js +++ b/test/js/samples/legacy-quote-class/expected-bundle.js @@ -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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/legacy-quote-class/expected.js b/test/js/samples/legacy-quote-class/expected.js index bc489b5fcc..de50dfa5e7 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/media-bindings/expected-bundle.js b/test/js/samples/media-bindings/expected-bundle.js index f242900666..8287902dff 100644 --- a/test/js/samples/media-bindings/expected-bundle.js +++ b/test/js/samples/media-bindings/expected-bundle.js @@ -295,7 +295,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); callAll(this._beforecreate); } diff --git a/test/js/samples/media-bindings/expected.js b/test/js/samples/media-bindings/expected.js index db71a78a55..a395dd4385 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); 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 b50fb5fdbc..399e3d594d 100644 --- a/test/js/samples/non-imported-component/expected-bundle.js +++ b/test/js/samples/non-imported-component/expected-bundle.js @@ -240,7 +240,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); 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 2d28036e8d..c1637b7cc4 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); 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 cb69d49960..783831720b 100644 --- a/test/js/samples/onrender-onteardown-rewritten/expected-bundle.js +++ b/test/js/samples/onrender-onteardown-rewritten/expected-bundle.js @@ -206,7 +206,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); callAll(this._oncreate); } diff --git a/test/js/samples/onrender-onteardown-rewritten/expected.js b/test/js/samples/onrender-onteardown-rewritten/expected.js index 87c1cd6591..1d91737faa 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); callAll(this._oncreate); } diff --git a/test/js/samples/setup-method/expected-bundle.js b/test/js/samples/setup-method/expected-bundle.js index bb00b5bab4..b4465e2a6b 100644 --- a/test/js/samples/setup-method/expected-bundle.js +++ b/test/js/samples/setup-method/expected-bundle.js @@ -210,7 +210,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/setup-method/expected.js b/test/js/samples/setup-method/expected.js index 5ec2a8fbb7..12dc0b2452 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/svg-title/expected-bundle.js b/test/js/samples/svg-title/expected-bundle.js index 64f89f0033..534d98b185 100644 --- a/test/js/samples/svg-title/expected-bundle.js +++ b/test/js/samples/svg-title/expected-bundle.js @@ -225,7 +225,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/svg-title/expected.js b/test/js/samples/svg-title/expected.js index e3ffee8334..3f7ea0b8e9 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/title/expected-bundle.js b/test/js/samples/title/expected-bundle.js index 57a42c8ff0..e1de24a335 100644 --- a/test/js/samples/title/expected-bundle.js +++ b/test/js/samples/title/expected-bundle.js @@ -201,7 +201,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/title/expected.js b/test/js/samples/title/expected.js index 3a39eb61e9..0e059bbb4c 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } 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 bd3a047e11..fbfb801019 100644 --- a/test/js/samples/use-elements-as-anchors/expected-bundle.js +++ b/test/js/samples/use-elements-as-anchors/expected-bundle.js @@ -448,7 +448,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/use-elements-as-anchors/expected.js b/test/js/samples/use-elements-as-anchors/expected.js index 4732232ed2..5f6f27c742 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/window-binding-scroll/expected-bundle.js b/test/js/samples/window-binding-scroll/expected-bundle.js index 744c2db9f4..0fca60a0f8 100644 --- a/test/js/samples/window-binding-scroll/expected-bundle.js +++ b/test/js/samples/window-binding-scroll/expected-bundle.js @@ -250,7 +250,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } } diff --git a/test/js/samples/window-binding-scroll/expected.js b/test/js/samples/window-binding-scroll/expected.js index 0f9b4d3b45..59009aeb9b 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._mount(options.target, options.anchor || null); + this._mount(options.target, options.anchor); } }