Skip to content

Commit af5a73c

Browse files
committed
update tests
1 parent c62bc6c commit af5a73c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

test/js/samples/component-static-immutable/expected-bundle.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ var proto = {
176176
/* generated by Svelte vX.Y.Z */
177177
var Nested = window.Nested;
178178

179-
function create_main_fragment(state, component) {
179+
function create_main_fragment(component, state) {
180180

181181
var nested = new Nested({
182182
root: component.root,
@@ -214,7 +214,7 @@ function SvelteComponent(options) {
214214
this._aftercreate = [];
215215
}
216216

217-
this._fragment = create_main_fragment(this._state, this);
217+
this._fragment = create_main_fragment(this, this._state);
218218

219219
if (options.target) {
220220
this._fragment.c();

test/js/samples/component-static-immutable/expected.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { _differsImmutable, assign, callAll, init, noop, proto } from "svelte/sh
33

44
var Nested = window.Nested;
55

6-
function create_main_fragment(state, component) {
6+
function create_main_fragment(component, state) {
77

88
var nested = new Nested({
99
root: component.root,
@@ -41,7 +41,7 @@ function SvelteComponent(options) {
4141
this._aftercreate = [];
4242
}
4343

44-
this._fragment = create_main_fragment(this._state, this);
44+
this._fragment = create_main_fragment(this, this._state);
4545

4646
if (options.target) {
4747
this._fragment.c();

test/js/samples/component-static-immutable2/expected-bundle.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ var proto = {
176176
/* generated by Svelte vX.Y.Z */
177177
var Nested = window.Nested;
178178

179-
function create_main_fragment(state, component) {
179+
function create_main_fragment(component, state) {
180180

181181
var nested = new Nested({
182182
root: component.root,
@@ -214,7 +214,7 @@ function SvelteComponent(options) {
214214
this._aftercreate = [];
215215
}
216216

217-
this._fragment = create_main_fragment(this._state, this);
217+
this._fragment = create_main_fragment(this, this._state);
218218

219219
if (options.target) {
220220
this._fragment.c();

test/js/samples/component-static-immutable2/expected.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { _differsImmutable, assign, callAll, init, noop, proto } from "svelte/sh
33

44
var Nested = window.Nested;
55

6-
function create_main_fragment(state, component) {
6+
function create_main_fragment(component, state) {
77

88
var nested = new Nested({
99
root: component.root,
@@ -41,7 +41,7 @@ function SvelteComponent(options) {
4141
this._aftercreate = [];
4242
}
4343

44-
this._fragment = create_main_fragment(this._state, this);
44+
this._fragment = create_main_fragment(this, this._state);
4545

4646
if (options.target) {
4747
this._fragment.c();

0 commit comments

Comments
 (0)