From c0ac80fbda752d5f399dfec4ff714c3ce7565882 Mon Sep 17 00:00:00 2001 From: Ivan Hofer Date: Tue, 10 Nov 2020 07:44:18 +0100 Subject: [PATCH] add 'noop' param to all tests --- .../samples/action-custom-event-handler/expected.js | 4 ++-- test/js/samples/bind-online/expected.js | 2 +- test/js/samples/bind-open/expected.js | 2 +- test/js/samples/bind-width-height/expected.js | 2 +- test/js/samples/bindings-readonly-order/expected.js | 2 +- test/js/samples/capture-inject-dev-only/expected.js | 2 +- test/js/samples/capture-inject-state/expected.js | 2 +- .../collapses-text-around-comments/expected.js | 2 +- test/js/samples/component-static-array/expected.js | 2 +- test/js/samples/component-static-var/expected.js | 3 ++- test/js/samples/component-static/expected.js | 2 +- .../component-store-access-invalidate/expected.js | 2 +- .../component-store-reassign-invalidate/expected.js | 2 +- test/js/samples/data-attribute/expected.js | 2 +- test/js/samples/debug-empty/expected.js | 2 +- test/js/samples/debug-foo-bar-baz-things/expected.js | 2 +- test/js/samples/debug-foo/expected.js | 2 +- test/js/samples/debug-hoisted/expected.js | 2 +- test/js/samples/debug-no-dependencies/expected.js | 2 +- test/js/samples/deconflict-builtins/expected.js | 2 +- .../dev-warning-missing-data-computed/expected.js | 2 +- test/js/samples/each-block-array-literal/expected.js | 2 +- test/js/samples/each-block-changed-check/expected.js | 2 +- .../js/samples/each-block-keyed-animated/expected.js | 2 +- test/js/samples/each-block-keyed/expected.js | 2 +- test/js/samples/event-handler-dynamic/expected.js | 2 +- test/js/samples/if-block-complex/expected.js | 2 +- test/js/samples/if-block-no-update/expected.js | 2 +- test/js/samples/if-block-simple/expected.js | 4 ++-- test/js/samples/import-meta/expected.js | 2 +- test/js/samples/initial-context/expected.js | 2 +- .../inline-style-optimized-multiple/expected.js | 2 +- .../samples/inline-style-optimized-url/expected.js | 2 +- test/js/samples/inline-style-optimized/expected.js | 2 +- test/js/samples/input-files/expected.js | 2 +- test/js/samples/input-range/expected.js | 2 +- test/js/samples/input-value/expected.js | 2 +- .../samples/input-without-blowback-guard/expected.js | 2 +- .../instrumentation-script-if-no-block/expected.js | 2 +- .../instrumentation-script-main-block/expected.js | 2 +- .../instrumentation-script-x-equals-x/expected.js | 2 +- .../instrumentation-template-if-no-block/expected.js | 2 +- .../instrumentation-template-x-equals-x/expected.js | 2 +- test/js/samples/loop-protect/expected.js | 2 +- test/js/samples/media-bindings/expected.js | 2 +- test/js/samples/optional-chaining/expected.js | 3 ++- test/js/samples/select-dynamic-value/expected.js | 2 +- test/js/samples/src-attribute-check/expected.js | 2 +- test/js/samples/title/expected.js | 2 +- test/js/samples/transition-local/expected.js | 4 ++-- .../js/samples/transition-repeated-outro/expected.js | 3 ++- test/js/samples/unchanged-expression/expected.js | 2 +- .../unreferenced-state-not-invalidated/expected.js | 2 +- test/js/samples/use-elements-as-anchors/expected.js | 12 ++++++------ test/js/samples/video-bindings/expected.js | 2 +- test/js/samples/window-binding-online/expected.js | 2 +- test/js/samples/window-binding-scroll/expected.js | 2 +- 57 files changed, 68 insertions(+), 65 deletions(-) diff --git a/test/js/samples/action-custom-event-handler/expected.js b/test/js/samples/action-custom-event-handler/expected.js index 51656290d668..c5c2ea454de3 100644 --- a/test/js/samples/action-custom-event-handler/expected.js +++ b/test/js/samples/action-custom-event-handler/expected.js @@ -48,7 +48,7 @@ function handleFoo(bar) { } function foo(node, callback) { - + } // code goes here function instance($$self, $$props, $$invalidate) { @@ -65,7 +65,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { bar: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { bar: 0 }, noop); } } diff --git a/test/js/samples/bind-online/expected.js b/test/js/samples/bind-online/expected.js index 887195bce1b3..1b9fd41bc627 100644 --- a/test/js/samples/bind-online/expected.js +++ b/test/js/samples/bind-online/expected.js @@ -49,7 +49,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/bind-open/expected.js b/test/js/samples/bind-open/expected.js index 56ff30284572..5ff4dc1ad133 100644 --- a/test/js/samples/bind-open/expected.js +++ b/test/js/samples/bind-open/expected.js @@ -62,7 +62,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { open: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { open: 0 }, noop); } } diff --git a/test/js/samples/bind-width-height/expected.js b/test/js/samples/bind-width-height/expected.js index f23c20b68316..c583acf64158 100644 --- a/test/js/samples/bind-width-height/expected.js +++ b/test/js/samples/bind-width-height/expected.js @@ -57,7 +57,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { w: 0, h: 1 }); + init(this, options, instance, create_fragment, safe_not_equal, { w: 0, h: 1 }, noop); } } diff --git a/test/js/samples/bindings-readonly-order/expected.js b/test/js/samples/bindings-readonly-order/expected.js index 78a71dcd8414..063f2b28d4a3 100644 --- a/test/js/samples/bindings-readonly-order/expected.js +++ b/test/js/samples/bindings-readonly-order/expected.js @@ -78,7 +78,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { files: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { files: 0 }, noop); } } diff --git a/test/js/samples/capture-inject-dev-only/expected.js b/test/js/samples/capture-inject-dev-only/expected.js index a87693dd9e8e..e3fc6f9b7c23 100644 --- a/test/js/samples/capture-inject-dev-only/expected.js +++ b/test/js/samples/capture-inject-dev-only/expected.js @@ -75,7 +75,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/capture-inject-state/expected.js b/test/js/samples/capture-inject-state/expected.js index 6a0351ae449e..b5ce98de7050 100644 --- a/test/js/samples/capture-inject-state/expected.js +++ b/test/js/samples/capture-inject-state/expected.js @@ -158,7 +158,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponentDev { constructor(options) { super(options); - init(this, options, instance, create_fragment, safe_not_equal, { prop: 0, alias: 1 }); + init(this, options, instance, create_fragment, safe_not_equal, { prop: 0, alias: 1 }, noop); dispatch_dev("SvelteRegisterComponent", { component: this, diff --git a/test/js/samples/collapses-text-around-comments/expected.js b/test/js/samples/collapses-text-around-comments/expected.js index 67335ce2469e..41a574eba5e5 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 @@ class Component extends SvelteComponent { constructor(options) { super(); if (!document.getElementById("svelte-1a7i8ec-style")) add_css(); - init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 }, noop); } } diff --git a/test/js/samples/component-static-array/expected.js b/test/js/samples/component-static-array/expected.js index 0ecb0f32ba08..d3a28d36b36e 100644 --- a/test/js/samples/component-static-array/expected.js +++ b/test/js/samples/component-static-array/expected.js @@ -48,7 +48,7 @@ function instance($$self) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/component-static-var/expected.js b/test/js/samples/component-static-var/expected.js index 2cd5ed386f07..c129f252caa7 100644 --- a/test/js/samples/component-static-var/expected.js +++ b/test/js/samples/component-static-var/expected.js @@ -9,6 +9,7 @@ import { insert, listen, mount_component, + noop, safe_not_equal, set_input_value, space, @@ -101,7 +102,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/component-static/expected.js b/test/js/samples/component-static/expected.js index 186f6350e6bd..dd0a1da29462 100644 --- a/test/js/samples/component-static/expected.js +++ b/test/js/samples/component-static/expected.js @@ -48,7 +48,7 @@ function instance($$self) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/component-store-access-invalidate/expected.js b/test/js/samples/component-store-access-invalidate/expected.js index 4c7bfd7009c3..790b8b1a5e7d 100644 --- a/test/js/samples/component-store-access-invalidate/expected.js +++ b/test/js/samples/component-store-access-invalidate/expected.js @@ -49,7 +49,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/component-store-reassign-invalidate/expected.js b/test/js/samples/component-store-reassign-invalidate/expected.js index 0cf555bf0d96..31c92c66f7bc 100644 --- a/test/js/samples/component-store-reassign-invalidate/expected.js +++ b/test/js/samples/component-store-reassign-invalidate/expected.js @@ -74,7 +74,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/data-attribute/expected.js b/test/js/samples/data-attribute/expected.js index 8c30e6f6dbb5..5f80efc52f33 100644 --- a/test/js/samples/data-attribute/expected.js +++ b/test/js/samples/data-attribute/expected.js @@ -57,7 +57,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { bar: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { bar: 0 }, noop); } } diff --git a/test/js/samples/debug-empty/expected.js b/test/js/samples/debug-empty/expected.js index f427f1bf4581..1142b90e4409 100644 --- a/test/js/samples/debug-empty/expected.js +++ b/test/js/samples/debug-empty/expected.js @@ -98,7 +98,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponentDev { constructor(options) { super(options); - init(this, options, instance, create_fragment, safe_not_equal, { name: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { name: 0 }, noop); dispatch_dev("SvelteRegisterComponent", { component: this, diff --git a/test/js/samples/debug-foo-bar-baz-things/expected.js b/test/js/samples/debug-foo-bar-baz-things/expected.js index 7439b3310b3a..e0c87cc33f1f 100644 --- a/test/js/samples/debug-foo-bar-baz-things/expected.js +++ b/test/js/samples/debug-foo-bar-baz-things/expected.js @@ -208,7 +208,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponentDev { constructor(options) { super(options); - init(this, options, instance, create_fragment, safe_not_equal, { things: 0, foo: 1, bar: 2, baz: 3 }); + init(this, options, instance, create_fragment, safe_not_equal, { things: 0, foo: 1, bar: 2, baz: 3 }, noop); dispatch_dev("SvelteRegisterComponent", { component: this, diff --git a/test/js/samples/debug-foo/expected.js b/test/js/samples/debug-foo/expected.js index d869a5cf9e84..540c423a5d68 100644 --- a/test/js/samples/debug-foo/expected.js +++ b/test/js/samples/debug-foo/expected.js @@ -196,7 +196,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponentDev { constructor(options) { super(options); - init(this, options, instance, create_fragment, safe_not_equal, { things: 0, foo: 1 }); + init(this, options, instance, create_fragment, safe_not_equal, { things: 0, foo: 1 }, noop); dispatch_dev("SvelteRegisterComponent", { component: this, diff --git a/test/js/samples/debug-hoisted/expected.js b/test/js/samples/debug-hoisted/expected.js index c6257ac90d5a..ba575f49aa8d 100644 --- a/test/js/samples/debug-hoisted/expected.js +++ b/test/js/samples/debug-hoisted/expected.js @@ -76,7 +76,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponentDev { constructor(options) { super(options); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); dispatch_dev("SvelteRegisterComponent", { component: this, diff --git a/test/js/samples/debug-no-dependencies/expected.js b/test/js/samples/debug-no-dependencies/expected.js index 4d8d05d3aa6e..d74c540948a6 100644 --- a/test/js/samples/debug-no-dependencies/expected.js +++ b/test/js/samples/debug-no-dependencies/expected.js @@ -150,7 +150,7 @@ function instance($$self, $$props) { class Component extends SvelteComponentDev { constructor(options) { super(options); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); dispatch_dev("SvelteRegisterComponent", { component: this, diff --git a/test/js/samples/deconflict-builtins/expected.js b/test/js/samples/deconflict-builtins/expected.js index 6bc60194aaa5..f4180b971229 100644 --- a/test/js/samples/deconflict-builtins/expected.js +++ b/test/js/samples/deconflict-builtins/expected.js @@ -114,7 +114,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { createElement: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { createElement: 0 }, noop); } } diff --git a/test/js/samples/dev-warning-missing-data-computed/expected.js b/test/js/samples/dev-warning-missing-data-computed/expected.js index 8c7f8bb1cff8..b5419d19bde2 100644 --- a/test/js/samples/dev-warning-missing-data-computed/expected.js +++ b/test/js/samples/dev-warning-missing-data-computed/expected.js @@ -102,7 +102,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponentDev { constructor(options) { super(options); - init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 }, noop); dispatch_dev("SvelteRegisterComponent", { component: this, diff --git a/test/js/samples/each-block-array-literal/expected.js b/test/js/samples/each-block-array-literal/expected.js index fe51ac5bc3aa..b497887f7862 100644 --- a/test/js/samples/each-block-array-literal/expected.js +++ b/test/js/samples/each-block-array-literal/expected.js @@ -120,7 +120,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { a: 0, b: 1, c: 2, d: 3, e: 4 }); + init(this, options, instance, create_fragment, safe_not_equal, { a: 0, b: 1, c: 2, d: 3, e: 4 }, noop); } } diff --git a/test/js/samples/each-block-changed-check/expected.js b/test/js/samples/each-block-changed-check/expected.js index 63bc1d8607b8..40f6cdfe32b8 100644 --- a/test/js/samples/each-block-changed-check/expected.js +++ b/test/js/samples/each-block-changed-check/expected.js @@ -165,7 +165,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { comments: 0, elapsed: 1, time: 2, foo: 3 }); + init(this, options, instance, create_fragment, safe_not_equal, { comments: 0, elapsed: 1, time: 2, foo: 3 }, noop); } } diff --git a/test/js/samples/each-block-keyed-animated/expected.js b/test/js/samples/each-block-keyed-animated/expected.js index 46ef63ee7f17..5cc2b196e928 100644 --- a/test/js/samples/each-block-keyed-animated/expected.js +++ b/test/js/samples/each-block-keyed-animated/expected.js @@ -138,7 +138,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { things: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { things: 0 }, noop); } } diff --git a/test/js/samples/each-block-keyed/expected.js b/test/js/samples/each-block-keyed/expected.js index 71853cf295ef..f6897a1cd6fb 100644 --- a/test/js/samples/each-block-keyed/expected.js +++ b/test/js/samples/each-block-keyed/expected.js @@ -107,7 +107,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { things: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { things: 0 }, noop); } } diff --git a/test/js/samples/event-handler-dynamic/expected.js b/test/js/samples/event-handler-dynamic/expected.js index dacdfe15ac37..9e4e78cca007 100644 --- a/test/js/samples/event-handler-dynamic/expected.js +++ b/test/js/samples/event-handler-dynamic/expected.js @@ -103,7 +103,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/if-block-complex/expected.js b/test/js/samples/if-block-complex/expected.js index a8244de8b02d..2cc568f1ddca 100644 --- a/test/js/samples/if-block-complex/expected.js +++ b/test/js/samples/if-block-complex/expected.js @@ -60,7 +60,7 @@ function instance($$self) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/if-block-no-update/expected.js b/test/js/samples/if-block-no-update/expected.js index c67b33fa8557..b35a805f6a54 100644 --- a/test/js/samples/if-block-no-update/expected.js +++ b/test/js/samples/if-block-no-update/expected.js @@ -98,7 +98,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 }, noop); } } diff --git a/test/js/samples/if-block-simple/expected.js b/test/js/samples/if-block-simple/expected.js index 4cdd73cddbc1..abc3a31a959a 100644 --- a/test/js/samples/if-block-simple/expected.js +++ b/test/js/samples/if-block-simple/expected.js @@ -43,7 +43,7 @@ function create_fragment(ctx) { p(ctx, [dirty]) { if (/*foo*/ ctx[0]) { if (if_block) { - + } else { if_block = create_if_block(ctx); if_block.c(); @@ -76,7 +76,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 }, noop); } } diff --git a/test/js/samples/import-meta/expected.js b/test/js/samples/import-meta/expected.js index ba77398321cf..f3b90c0b2d6c 100644 --- a/test/js/samples/import-meta/expected.js +++ b/test/js/samples/import-meta/expected.js @@ -46,7 +46,7 @@ function instance($$self) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/initial-context/expected.js b/test/js/samples/initial-context/expected.js index 592e2a709e9c..e9b5892ef64c 100644 --- a/test/js/samples/initial-context/expected.js +++ b/test/js/samples/initial-context/expected.js @@ -52,7 +52,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/inline-style-optimized-multiple/expected.js b/test/js/samples/inline-style-optimized-multiple/expected.js index 0a9d0a1e8eba..29818b3dccd0 100644 --- a/test/js/samples/inline-style-optimized-multiple/expected.js +++ b/test/js/samples/inline-style-optimized-multiple/expected.js @@ -56,7 +56,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { color: 0, x: 1, y: 2 }); + init(this, options, instance, create_fragment, safe_not_equal, { color: 0, x: 1, y: 2 }, noop); } } diff --git a/test/js/samples/inline-style-optimized-url/expected.js b/test/js/samples/inline-style-optimized-url/expected.js index 0debb035854f..7ac128ed3b61 100644 --- a/test/js/samples/inline-style-optimized-url/expected.js +++ b/test/js/samples/inline-style-optimized-url/expected.js @@ -47,7 +47,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { data: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { data: 0 }, noop); } } diff --git a/test/js/samples/inline-style-optimized/expected.js b/test/js/samples/inline-style-optimized/expected.js index b7db0f1cf30b..79fb9f1f875a 100644 --- a/test/js/samples/inline-style-optimized/expected.js +++ b/test/js/samples/inline-style-optimized/expected.js @@ -47,7 +47,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { color: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { color: 0 }, noop); } } diff --git a/test/js/samples/input-files/expected.js b/test/js/samples/input-files/expected.js index 8adc7443f5c1..d35feefa943d 100644 --- a/test/js/samples/input-files/expected.js +++ b/test/js/samples/input-files/expected.js @@ -59,7 +59,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { files: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { files: 0 }, noop); } } diff --git a/test/js/samples/input-range/expected.js b/test/js/samples/input-range/expected.js index a855ca3653fe..7e985d77e3db 100644 --- a/test/js/samples/input-range/expected.js +++ b/test/js/samples/input-range/expected.js @@ -70,7 +70,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { value: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { value: 0 }, noop); } } diff --git a/test/js/samples/input-value/expected.js b/test/js/samples/input-value/expected.js index 781a2ae60358..6de379e63114 100644 --- a/test/js/samples/input-value/expected.js +++ b/test/js/samples/input-value/expected.js @@ -76,7 +76,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/input-without-blowback-guard/expected.js b/test/js/samples/input-without-blowback-guard/expected.js index 6c5b2156232f..98f3bf79498d 100644 --- a/test/js/samples/input-without-blowback-guard/expected.js +++ b/test/js/samples/input-without-blowback-guard/expected.js @@ -63,7 +63,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 }, noop); } } diff --git a/test/js/samples/instrumentation-script-if-no-block/expected.js b/test/js/samples/instrumentation-script-if-no-block/expected.js index 7f51c6455007..11dde75a7937 100644 --- a/test/js/samples/instrumentation-script-if-no-block/expected.js +++ b/test/js/samples/instrumentation-script-if-no-block/expected.js @@ -72,7 +72,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/instrumentation-script-main-block/expected.js b/test/js/samples/instrumentation-script-main-block/expected.js index bc809246028b..19bf4f0f0bd4 100644 --- a/test/js/samples/instrumentation-script-main-block/expected.js +++ b/test/js/samples/instrumentation-script-main-block/expected.js @@ -68,7 +68,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/instrumentation-script-x-equals-x/expected.js b/test/js/samples/instrumentation-script-x-equals-x/expected.js index ea0d65acb906..a6db9a42f523 100644 --- a/test/js/samples/instrumentation-script-x-equals-x/expected.js +++ b/test/js/samples/instrumentation-script-x-equals-x/expected.js @@ -74,7 +74,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/instrumentation-template-if-no-block/expected.js b/test/js/samples/instrumentation-template-if-no-block/expected.js index 0c2713a9cc64..acc277f41992 100644 --- a/test/js/samples/instrumentation-template-if-no-block/expected.js +++ b/test/js/samples/instrumentation-template-if-no-block/expected.js @@ -72,7 +72,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/instrumentation-template-x-equals-x/expected.js b/test/js/samples/instrumentation-template-x-equals-x/expected.js index 55cd310661e7..5a1b436ddeba 100644 --- a/test/js/samples/instrumentation-template-x-equals-x/expected.js +++ b/test/js/samples/instrumentation-template-x-equals-x/expected.js @@ -74,7 +74,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/loop-protect/expected.js b/test/js/samples/loop-protect/expected.js index 1042b20823b8..df6bcd25f93e 100644 --- a/test/js/samples/loop-protect/expected.js +++ b/test/js/samples/loop-protect/expected.js @@ -154,7 +154,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponentDev { constructor(options) { super(options); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); dispatch_dev("SvelteRegisterComponent", { component: this, diff --git a/test/js/samples/media-bindings/expected.js b/test/js/samples/media-bindings/expected.js index 867d4a7dadfb..9ee63938fa08 100644 --- a/test/js/samples/media-bindings/expected.js +++ b/test/js/samples/media-bindings/expected.js @@ -227,7 +227,7 @@ class Component extends SvelteComponent { playbackRate: 8, seeking: 9, ended: 10 - }); + }, noop); } } diff --git a/test/js/samples/optional-chaining/expected.js b/test/js/samples/optional-chaining/expected.js index 8aa94796c1b0..e39ad17a7daa 100644 --- a/test/js/samples/optional-chaining/expected.js +++ b/test/js/samples/optional-chaining/expected.js @@ -9,6 +9,7 @@ import { init, insert, mount_component, + noop, safe_not_equal, set_data, space, @@ -182,7 +183,7 @@ function instance($$self, $$props, $$invalidate) { class Component_1 extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { a: 0, b: 1, c: 2, d: 3, e: 4, f: 5 }); + init(this, options, instance, create_fragment, safe_not_equal, { a: 0, b: 1, c: 2, d: 3, e: 4, f: 5 }, noop); } } diff --git a/test/js/samples/select-dynamic-value/expected.js b/test/js/samples/select-dynamic-value/expected.js index 8777cd260072..ddc5c63d7781 100644 --- a/test/js/samples/select-dynamic-value/expected.js +++ b/test/js/samples/select-dynamic-value/expected.js @@ -60,7 +60,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { current: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { current: 0 }, noop); } } diff --git a/test/js/samples/src-attribute-check/expected.js b/test/js/samples/src-attribute-check/expected.js index 93638edfb43b..f478b53124d8 100644 --- a/test/js/samples/src-attribute-check/expected.js +++ b/test/js/samples/src-attribute-check/expected.js @@ -78,7 +78,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { url: 0, slug: 1 }); + init(this, options, instance, create_fragment, safe_not_equal, { url: 0, slug: 1 }, noop); } } diff --git a/test/js/samples/title/expected.js b/test/js/samples/title/expected.js index b10f569759d4..834ee9eb040e 100644 --- a/test/js/samples/title/expected.js +++ b/test/js/samples/title/expected.js @@ -32,7 +32,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { custom: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { custom: 0 }, noop); } } diff --git a/test/js/samples/transition-local/expected.js b/test/js/samples/transition-local/expected.js index ea3d9db3d7e6..83623be737f6 100644 --- a/test/js/samples/transition-local/expected.js +++ b/test/js/samples/transition-local/expected.js @@ -117,7 +117,7 @@ function create_fragment(ctx) { } function foo() { - + } function instance($$self, $$props, $$invalidate) { @@ -135,7 +135,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { x: 0, y: 1 }); + init(this, options, instance, create_fragment, safe_not_equal, { x: 0, y: 1 }, noop); } } diff --git a/test/js/samples/transition-repeated-outro/expected.js b/test/js/samples/transition-repeated-outro/expected.js index 12483ab91af7..6e4126d2db50 100644 --- a/test/js/samples/transition-repeated-outro/expected.js +++ b/test/js/samples/transition-repeated-outro/expected.js @@ -9,6 +9,7 @@ import { group_outros, init, insert, + noop, safe_not_equal, transition_in, transition_out @@ -112,7 +113,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { num: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { num: 0 }, noop); } } diff --git a/test/js/samples/unchanged-expression/expected.js b/test/js/samples/unchanged-expression/expected.js index 673d5b6abc8d..d50c7172787a 100644 --- a/test/js/samples/unchanged-expression/expected.js +++ b/test/js/samples/unchanged-expression/expected.js @@ -85,7 +85,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/unreferenced-state-not-invalidated/expected.js b/test/js/samples/unreferenced-state-not-invalidated/expected.js index b10ea815b966..15182df8c3dc 100644 --- a/test/js/samples/unreferenced-state-not-invalidated/expected.js +++ b/test/js/samples/unreferenced-state-not-invalidated/expected.js @@ -70,7 +70,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/use-elements-as-anchors/expected.js b/test/js/samples/use-elements-as-anchors/expected.js index d07411518e91..3ac9717a9160 100644 --- a/test/js/samples/use-elements-as-anchors/expected.js +++ b/test/js/samples/use-elements-as-anchors/expected.js @@ -158,7 +158,7 @@ function create_fragment(ctx) { p(ctx, [dirty]) { if (/*a*/ ctx[0]) { if (if_block0) { - + } else { if_block0 = create_if_block_4(ctx); if_block0.c(); @@ -171,7 +171,7 @@ function create_fragment(ctx) { if (/*b*/ ctx[1]) { if (if_block1) { - + } else { if_block1 = create_if_block_3(ctx); if_block1.c(); @@ -184,7 +184,7 @@ function create_fragment(ctx) { if (/*c*/ ctx[2]) { if (if_block2) { - + } else { if_block2 = create_if_block_2(ctx); if_block2.c(); @@ -197,7 +197,7 @@ function create_fragment(ctx) { if (/*d*/ ctx[3]) { if (if_block3) { - + } else { if_block3 = create_if_block_1(ctx); if_block3.c(); @@ -210,7 +210,7 @@ function create_fragment(ctx) { if (/*e*/ ctx[4]) { if (if_block4) { - + } else { if_block4 = create_if_block(ctx); if_block4.c(); @@ -257,7 +257,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { a: 0, b: 1, c: 2, d: 3, e: 4 }); + init(this, options, instance, create_fragment, safe_not_equal, { a: 0, b: 1, c: 2, d: 3, e: 4 }, noop); } } diff --git a/test/js/samples/video-bindings/expected.js b/test/js/samples/video-bindings/expected.js index 8afa670bbb52..09f3b4a75fe4 100644 --- a/test/js/samples/video-bindings/expected.js +++ b/test/js/samples/video-bindings/expected.js @@ -120,7 +120,7 @@ class Component extends SvelteComponent { videoHeight: 1, videoWidth: 2, offsetWidth: 3 - }); + }, noop); } } diff --git a/test/js/samples/window-binding-online/expected.js b/test/js/samples/window-binding-online/expected.js index 887195bce1b3..1b9fd41bc627 100644 --- a/test/js/samples/window-binding-online/expected.js +++ b/test/js/samples/window-binding-online/expected.js @@ -49,7 +49,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}, noop); } } diff --git a/test/js/samples/window-binding-scroll/expected.js b/test/js/samples/window-binding-scroll/expected.js index 09a4d3737d29..c170d67102bc 100644 --- a/test/js/samples/window-binding-scroll/expected.js +++ b/test/js/samples/window-binding-scroll/expected.js @@ -88,7 +88,7 @@ function instance($$self, $$props, $$invalidate) { class Component extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment, safe_not_equal, { y: 0 }); + init(this, options, instance, create_fragment, safe_not_equal, { y: 0 }, noop); } }