update tests

pull/1971/head
Richard Harris 7 years ago
parent 2969b4c9d1
commit 765309388e

@ -27,7 +27,6 @@ export default class Tag extends Wrapper {
if (this.node.shouldCache) block.addVariable(value, snippet); if (this.node.shouldCache) block.addVariable(value, snippet);
if (dependencies.size) { if (dependencies.size) {
// TODO can we check `#current` at the top of the `update` method, instead of in individual updates?
const changedCheck = ( const changedCheck = (
(block.hasOutros ? `!#current || ` : '') + (block.hasOutros ? `!#current || ` : '') +
[...dependencies].map((dependency: string) => `changed.${dependency}`).join(' || ') [...dependencies].map((dependency: string) => `changed.${dependency}`).join(' || ')

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, createElement, detachNode, flush, init, insert, noop, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, createElement, detachNode, flush, init, insert, noop, safe_not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var button, foo_action, current; var button, foo_action, current, mounted;
return { return {
c() { c() {
@ -13,17 +13,16 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
insert(target, button, anchor); insert(target, button, anchor);
foo_action = foo.call(null, button, ctx.foo_function) || {}; foo_action = foo.call(null, button, ctx.foo_function) || {};
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, createElement, detachNode, identity, init, insert, noop, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, createElement, detachNode, identity, init, insert, noop, safe_not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var a, link_action, current; var a, link_action, current, mounted;
return { return {
c() { c() {
@ -14,17 +14,16 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
insert(target, a, anchor); insert(target, a, anchor);
link_action = link.call(null, a) || {}; link_action = link.call(null, a) || {};
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, addResizeListener, add_render_callback, createElement, detachNode, flush, init, insert, noop, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, addResizeListener, add_render_callback, createElement, detachNode, flush, init, insert, noop, safe_not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var div, div_resize_listener, current; var div, div_resize_listener, current, mounted;
return { return {
c() { c() {
@ -14,17 +14,16 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
insert(target, div, anchor); insert(target, div, anchor);
div_resize_listener = addResizeListener(div, ctx.div_resize_handler.bind(div)); div_resize_listener = addResizeListener(div, ctx.div_resize_handler.bind(div));
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,5 +1,5 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, append, createElement, createText, detachNode, flush, init, insert, run, safe_not_equal, setData } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, append, createElement, createText, detachNode, flush, init, insert, noop, safe_not_equal, setData } from "svelte/internal";
function add_css() { function add_css() {
var style = createElement("style"); var style = createElement("style");
@ -9,7 +9,7 @@ function add_css() {
} }
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var p, text, current; var p, text, current, mounted;
return { return {
c() { c() {
@ -21,7 +21,7 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
insert(target, p, anchor); insert(target, p, anchor);
append(p, text); append(p, text);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -31,11 +31,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -2,7 +2,7 @@
import { SvelteComponent as SvelteComponent_1, init, mount_component, noop, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, init, mount_component, noop, safe_not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var current; var current, mounted;
var nested = new ctx.Nested({ props: { foo: [1, 2, 3] } }); var nested = new ctx.Nested({ props: { foo: [1, 2, 3] } });
@ -13,20 +13,17 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
mount_component(nested, target, anchor); mount_component(nested, target, anchor);
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o(outrocallback) { o() {
if (!current) return; if (nested) nested.$$.fragment.o();
if (nested) nested.$$.fragment.o(outrocallback);
current = false; current = false;
}, },

@ -2,7 +2,7 @@
import { SvelteComponent as SvelteComponent_1, init, mount_component, noop, not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, init, mount_component, noop, not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var current; var current, mounted;
var nested = new ctx.Nested({ props: { foo: "bar" } }); var nested = new ctx.Nested({ props: { foo: "bar" } });
@ -13,20 +13,17 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
mount_component(nested, target, anchor); mount_component(nested, target, anchor);
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o(outrocallback) { o() {
if (!current) return; if (nested) nested.$$.fragment.o();
if (nested) nested.$$.fragment.o(outrocallback);
current = false; current = false;
}, },

@ -2,7 +2,7 @@
import { SvelteComponent as SvelteComponent_1, init, mount_component, noop, not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, init, mount_component, noop, not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var current; var current, mounted;
var nested = new ctx.Nested({ props: { foo: "bar" } }); var nested = new ctx.Nested({ props: { foo: "bar" } });
@ -13,20 +13,17 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
mount_component(nested, target, anchor); mount_component(nested, target, anchor);
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o(outrocallback) { o() {
if (!current) return; if (nested) nested.$$.fragment.o();
if (nested) nested.$$.fragment.o(outrocallback);
current = false; current = false;
}, },

@ -2,7 +2,7 @@
import { SvelteComponent as SvelteComponent_1, init, mount_component, noop, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, init, mount_component, noop, safe_not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var current; var current, mounted;
var nested = new ctx.Nested({ props: { foo: "bar" } }); var nested = new ctx.Nested({ props: { foo: "bar" } });
@ -13,20 +13,17 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
mount_component(nested, target, anchor); mount_component(nested, target, anchor);
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o(outrocallback) { o() {
if (!current) return; if (nested) nested.$$.fragment.o();
if (nested) nested.$$.fragment.o(outrocallback);
current = false; current = false;
}, },

@ -1,15 +1,15 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, flush, init, noop, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, flush, init, noop, safe_not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var current; var current, mounted;
return { return {
c: noop, c: noop,
m: noop, m: noop,
p: noop, p: noop,
i: noop, i: noop,
o: run, o: noop,
d: noop d: noop
}; };
} }

@ -1,5 +1,5 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, append, createElement, detachNode, identity, init, insert, noop, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, append, createElement, detachNode, identity, init, insert, noop, safe_not_equal } from "svelte/internal";
function add_css() { function add_css() {
var style = createElement("style"); var style = createElement("style");
@ -9,7 +9,7 @@ function add_css() {
} }
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var div, current; var div, current, mounted;
return { return {
c() { c() {
@ -19,17 +19,16 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
insert(target, div, anchor); insert(target, div, anchor);
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteElement, createElement, detachNode, identity, init, insert, noop, run, safe_not_equal } from "svelte/internal"; import { SvelteElement, createElement, detachNode, identity, init, insert, noop, safe_not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var div, current; var div, current, mounted;
return { return {
c() { c() {
@ -13,17 +13,16 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
insert(target, div, anchor); insert(target, div, anchor);
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,10 +1,10 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponentDev, addLoc, append, createElement, createText, detachNode, flush, init, insert, run, safe_not_equal, setData } from "svelte/internal"; import { SvelteComponentDev, addLoc, append, createElement, createText, detachNode, flush, init, insert, noop, safe_not_equal, setData } from "svelte/internal";
const file = undefined; const file = undefined;
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var h1, text0, text1, text2, text3, current; var h1, text0, text1, text2, text3, current, mounted;
return { return {
c: function create() { c: function create() {
@ -27,7 +27,7 @@ function create_fragment($$, ctx) {
append(h1, text1); append(h1, text1);
append(h1, text2); append(h1, text2);
insert(target, text3, anchor); insert(target, text3, anchor);
current = true; current = mounted = true;
}, },
p: function update(changed, ctx) { p: function update(changed, ctx) {
@ -39,11 +39,10 @@ function create_fragment($$, ctx) {
}, },
i: function intro(target, anchor) { i: function intro(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d: function destroy(detach) { d: function destroy(detach) {
if (detach) { if (detach) {

@ -1,5 +1,5 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponentDev, addLoc, append, createElement, createText, destroyEach, detachNode, flush, init, insert, run, safe_not_equal, setData } from "svelte/internal"; import { SvelteComponentDev, addLoc, append, createElement, createText, destroyEach, detachNode, flush, init, insert, noop, safe_not_equal, setData } from "svelte/internal";
const file = undefined; const file = undefined;
@ -55,7 +55,7 @@ function create_each_block($$, ctx) {
} }
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var text0, p, text1, text2, current; var text0, p, text1, text2, current, mounted;
var each_value = ctx.things; var each_value = ctx.things;
@ -91,7 +91,7 @@ function create_fragment($$, ctx) {
insert(target, p, anchor); insert(target, p, anchor);
append(p, text1); append(p, text1);
append(p, text2); append(p, text2);
current = true; current = mounted = true;
}, },
p: function update(changed, ctx) { p: function update(changed, ctx) {
@ -122,11 +122,10 @@ function create_fragment($$, ctx) {
}, },
i: function intro(target, anchor) { i: function intro(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d: function destroy(detach) { d: function destroy(detach) {
destroyEach(each_blocks, detach); destroyEach(each_blocks, detach);

@ -1,5 +1,5 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponentDev, addLoc, append, createElement, createText, destroyEach, detachNode, flush, init, insert, run, safe_not_equal, setData } from "svelte/internal"; import { SvelteComponentDev, addLoc, append, createElement, createText, destroyEach, detachNode, flush, init, insert, noop, safe_not_equal, setData } from "svelte/internal";
const file = undefined; const file = undefined;
@ -55,7 +55,7 @@ function create_each_block($$, ctx) {
} }
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var text0, p, text1, text2, current; var text0, p, text1, text2, current, mounted;
var each_value = ctx.things; var each_value = ctx.things;
@ -91,7 +91,7 @@ function create_fragment($$, ctx) {
insert(target, p, anchor); insert(target, p, anchor);
append(p, text1); append(p, text1);
append(p, text2); append(p, text2);
current = true; current = mounted = true;
}, },
p: function update(changed, ctx) { p: function update(changed, ctx) {
@ -122,11 +122,10 @@ function create_fragment($$, ctx) {
}, },
i: function intro(target, anchor) { i: function intro(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d: function destroy(detach) { d: function destroy(detach) {
destroyEach(each_blocks, detach); destroyEach(each_blocks, detach);

@ -1,5 +1,5 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, append, createComment, createElement as createElement_1, createText, destroyEach, detachNode, flush, init, insert, run, safe_not_equal, setData } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, append, createComment, createElement as createElement_1, createText, destroyEach, detachNode, flush, init, insert, noop, safe_not_equal, setData } from "svelte/internal";
function get_each_context(ctx, list, i) { function get_each_context(ctx, list, i) {
const child_ctx = Object.create(ctx); const child_ctx = Object.create(ctx);
@ -37,7 +37,7 @@ function create_each_block($$, ctx) {
} }
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var each_anchor, current; var each_anchor, current, mounted;
var each_value = ctx.createElement; var each_value = ctx.createElement;
@ -62,7 +62,7 @@ function create_fragment($$, ctx) {
} }
insert(target, each_anchor, anchor); insert(target, each_anchor, anchor);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -89,11 +89,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
destroyEach(each_blocks, detach); destroyEach(each_blocks, detach);

@ -1,16 +1,16 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, flush, init, noop, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, flush, init, noop, safe_not_equal } from "svelte/internal";
import { onMount } from "svelte"; import { onMount } from "svelte";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var current; var current, mounted;
return { return {
c: noop, c: noop,
m: noop, m: noop,
p: noop, p: noop,
i: noop, i: noop,
o: run, o: noop,
d: noop d: noop
}; };
} }

@ -1,10 +1,10 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponentDev, addLoc, append, createElement, createText, detachNode, flush, init, insert, run, safe_not_equal, setData } from "svelte/internal"; import { SvelteComponentDev, addLoc, append, createElement, createText, detachNode, flush, init, insert, noop, safe_not_equal, setData } from "svelte/internal";
const file = undefined; const file = undefined;
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var p, text0_value = Math.max(0, ctx.foo), text0, text1, text2, current; var p, text0_value = Math.max(0, ctx.foo), text0, text1, text2, current, mounted;
return { return {
c: function create() { c: function create() {
@ -24,7 +24,7 @@ function create_fragment($$, ctx) {
append(p, text0); append(p, text0);
append(p, text1); append(p, text1);
append(p, text2); append(p, text2);
current = true; current = mounted = true;
}, },
p: function update(changed, ctx) { p: function update(changed, ctx) {
@ -38,11 +38,10 @@ function create_fragment($$, ctx) {
}, },
i: function intro(target, anchor) { i: function intro(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d: function destroy(detach) { d: function destroy(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, createElement, createText, detachNode, flush, init, insert, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, createElement, createText, detachNode, flush, init, insert, noop, safe_not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var div0, text, div1, current; var div0, text, div1, current, mounted;
return { return {
c() { c() {
@ -17,7 +17,7 @@ function create_fragment($$, ctx) {
insert(target, div0, anchor); insert(target, div0, anchor);
insert(target, text, anchor); insert(target, text, anchor);
insert(target, div1, anchor); insert(target, div1, anchor);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -27,11 +27,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, createElement, createText, detachNode, flush, init, insert, run, safe_not_equal, setAttribute } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, createElement, createText, detachNode, flush, init, insert, noop, safe_not_equal, setAttribute } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var div0, text, div1, current; var div0, text, div1, current, mounted;
return { return {
c() { c() {
@ -17,7 +17,7 @@ function create_fragment($$, ctx) {
insert(target, div0, anchor); insert(target, div0, anchor);
insert(target, text, anchor); insert(target, text, anchor);
insert(target, div1, anchor); insert(target, div1, anchor);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -27,11 +27,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, append, createSvgElement, detachNode, flush, init, insert, run, safe_not_equal, setAttribute } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, append, createSvgElement, detachNode, flush, init, insert, noop, safe_not_equal, setAttribute } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var svg, g0, g1, current; var svg, g0, g1, current, mounted;
return { return {
c() { c() {
@ -17,7 +17,7 @@ function create_fragment($$, ctx) {
insert(target, svg, anchor); insert(target, svg, anchor);
append(svg, g0); append(svg, g0);
append(svg, g1); append(svg, g1);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -27,11 +27,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -3,7 +3,7 @@ import { SvelteComponent as SvelteComponent_1, identity, init, mount_component,
import LazyLoad from "./LazyLoad.html"; import LazyLoad from "./LazyLoad.html";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var current; var current, mounted;
var lazyload = new LazyLoad({ props: { load: func } }); var lazyload = new LazyLoad({ props: { load: func } });
@ -14,20 +14,17 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
mount_component(lazyload, target, anchor); mount_component(lazyload, target, anchor);
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o(outrocallback) { o() {
if (!current) return; if (lazyload) lazyload.$$.fragment.o();
if (lazyload) lazyload.$$.fragment.o(outrocallback);
current = false; current = false;
}, },

@ -1,5 +1,5 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, append, createElement, createText, destroyEach, detachAfter, detachNode, flush, init, insert, run, safe_not_equal, setData } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, append, createElement, createText, destroyEach, detachAfter, detachNode, flush, init, insert, noop, safe_not_equal, setData } from "svelte/internal";
function get_each_context(ctx, list, i) { function get_each_context(ctx, list, i) {
const child_ctx = Object.create(ctx); const child_ctx = Object.create(ctx);
@ -68,7 +68,7 @@ function create_each_block($$, ctx) {
} }
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var text0, p, text1, current; var text0, p, text1, current, mounted;
var each_value = ctx.comments; var each_value = ctx.comments;
@ -97,7 +97,7 @@ function create_fragment($$, ctx) {
insert(target, text0, anchor); insert(target, text0, anchor);
insert(target, p, anchor); insert(target, p, anchor);
append(p, text1); append(p, text1);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -128,11 +128,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
destroyEach(each_blocks, detach); destroyEach(each_blocks, detach);

@ -1,5 +1,5 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, animate, append, blankObject, createComment, createElement, createText, detachNode, fixAndOutroAndDestroyBlock, fix_position, flush, init, insert, noop, run, safe_not_equal, setData, updateKeyedEach } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, animate, append, blankObject, createComment, createElement, createText, detachNode, fixAndOutroAndDestroyBlock, fix_position, flush, init, insert, noop, safe_not_equal, setData, updateKeyedEach } from "svelte/internal";
function get_each_context(ctx, list, i) { function get_each_context(ctx, list, i) {
const child_ctx = Object.create(ctx); const child_ctx = Object.create(ctx);
@ -56,7 +56,7 @@ function create_each_block($$, key_1, ctx) {
} }
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var each_blocks_1 = [], each_lookup = blankObject(), each_anchor, current; var each_blocks_1 = [], each_lookup = blankObject(), each_anchor, current, mounted;
var each_value = ctx.things; var each_value = ctx.things;
@ -79,7 +79,7 @@ function create_fragment($$, ctx) {
for (i = 0; i < each_blocks_1.length; i += 1) each_blocks_1[i].m(target, anchor); for (i = 0; i < each_blocks_1.length; i += 1) each_blocks_1[i].m(target, anchor);
insert(target, each_anchor, anchor); insert(target, each_anchor, anchor);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -90,11 +90,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
for (i = 0; i < each_blocks_1.length; i += 1) each_blocks_1[i].d(detach); for (i = 0; i < each_blocks_1.length; i += 1) each_blocks_1[i].d(detach);

@ -1,5 +1,5 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, append, blankObject, createComment, createElement, createText, destroyBlock, detachNode, flush, init, insert, run, safe_not_equal, setData, updateKeyedEach } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, append, blankObject, createComment, createElement, createText, destroyBlock, detachNode, flush, init, insert, noop, safe_not_equal, setData, updateKeyedEach } from "svelte/internal";
function get_each_context(ctx, list, i) { function get_each_context(ctx, list, i) {
const child_ctx = Object.create(ctx); const child_ctx = Object.create(ctx);
@ -42,7 +42,7 @@ function create_each_block($$, key_1, ctx) {
} }
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var each_blocks_1 = [], each_lookup = blankObject(), each_anchor, current; var each_blocks_1 = [], each_lookup = blankObject(), each_anchor, current, mounted;
var each_value = ctx.things; var each_value = ctx.things;
@ -65,7 +65,7 @@ function create_fragment($$, ctx) {
for (i = 0; i < each_blocks_1.length; i += 1) each_blocks_1[i].m(target, anchor); for (i = 0; i < each_blocks_1.length; i += 1) each_blocks_1[i].m(target, anchor);
insert(target, each_anchor, anchor); insert(target, each_anchor, anchor);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -74,11 +74,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
for (i = 0; i < each_blocks_1.length; i += 1) each_blocks_1[i].d(detach); for (i = 0; i < each_blocks_1.length; i += 1) each_blocks_1[i].d(detach);

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, addListener, createElement, detachNode, identity, init, insert, noop, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, addListener, createElement, detachNode, identity, init, insert, noop, safe_not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var a, current, dispose; var a, current, mounted, dispose;
return { return {
c() { c() {
@ -14,17 +14,16 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
insert(target, a, anchor); insert(target, a, anchor);
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, addListener, append, createElement, createText, detachNode, identity, init, insert, noop, preventDefault, run, run_all, safe_not_equal, stopPropagation } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, addListener, append, createElement, createText, detachNode, identity, init, insert, noop, preventDefault, run_all, safe_not_equal, stopPropagation } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var div, button0, text1, button1, text3, button2, current, dispose; var div, button0, text1, button1, text3, button2, current, mounted, dispose;
return { return {
c() { c() {
@ -30,17 +30,16 @@ function create_fragment($$, ctx) {
append(div, button1); append(div, button1);
append(div, text3); append(div, text3);
append(div, button2); append(div, button2);
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, append, createElement, detachNode, identity, init, noop, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, append, createElement, detachNode, identity, init, noop, safe_not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var meta0, meta1, current; var meta0, meta1, current, mounted;
return { return {
c() { c() {
@ -17,17 +17,16 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
append(document.head, meta0); append(document.head, meta0);
append(document.head, meta1); append(document.head, meta1);
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
detachNode(meta0); detachNode(meta0);

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, append, createElement, createText, detachNode, identity, init, insert, noop, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, append, createElement, createText, detachNode, identity, init, insert, noop, safe_not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var b, text_value = get_answer(), text, current; var b, text_value = get_answer(), text, current, mounted;
return { return {
c() { c() {
@ -13,17 +13,16 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
insert(target, b, anchor); insert(target, b, anchor);
append(b, text); append(b, text);
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,5 +1,5 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, createComment, createElement, detachNode, flush, init, insert, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, createComment, createElement, detachNode, flush, init, insert, noop, safe_not_equal } from "svelte/internal";
// (3:0) {:else} // (3:0) {:else}
function create_else_block($$, ctx) { function create_else_block($$, ctx) {
@ -46,7 +46,7 @@ function create_if_block($$, ctx) {
} }
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var if_block_anchor, current; var if_block_anchor, current, mounted;
function select_block_type(ctx) { function select_block_type(ctx) {
if (ctx.foo) return create_if_block; if (ctx.foo) return create_if_block;
@ -65,7 +65,7 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
if_block.m(target, anchor); if_block.m(target, anchor);
insert(target, if_block_anchor, anchor); insert(target, if_block_anchor, anchor);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -78,11 +78,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if_block.d(detach); if_block.d(detach);

@ -1,5 +1,5 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, createComment, createElement, detachNode, flush, init, insert, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, createComment, createElement, detachNode, flush, init, insert, noop, safe_not_equal } from "svelte/internal";
// (1:0) {#if foo} // (1:0) {#if foo}
function create_if_block($$, ctx) { function create_if_block($$, ctx) {
@ -24,7 +24,7 @@ function create_if_block($$, ctx) {
} }
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var if_block_anchor, current; var if_block_anchor, current, mounted;
var if_block = (ctx.foo) && create_if_block($$, ctx); var if_block = (ctx.foo) && create_if_block($$, ctx);
@ -37,7 +37,7 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
if (if_block) if_block.m(target, anchor); if (if_block) if_block.m(target, anchor);
insert(target, if_block_anchor, anchor); insert(target, if_block_anchor, anchor);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -54,11 +54,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (if_block) if_block.d(detach); if (if_block) if_block.d(detach);

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, createElement, detachNode, flush, init, insert, run, safe_not_equal, setStyle } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, createElement, detachNode, flush, init, insert, noop, safe_not_equal, setStyle } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var div, current; var div, current, mounted;
return { return {
c() { c() {
@ -13,7 +13,7 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
insert(target, div, anchor); insert(target, div, anchor);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -27,11 +27,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, createElement, detachNode, flush, init, insert, run, safe_not_equal, setStyle } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, createElement, detachNode, flush, init, insert, noop, safe_not_equal, setStyle } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var div, current; var div, current, mounted;
return { return {
c() { c() {
@ -12,7 +12,7 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
insert(target, div, anchor); insert(target, div, anchor);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -22,11 +22,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, createElement, detachNode, flush, init, insert, run, safe_not_equal, setStyle } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, createElement, detachNode, flush, init, insert, noop, safe_not_equal, setStyle } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var div, current; var div, current, mounted;
return { return {
c() { c() {
@ -12,7 +12,7 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
insert(target, div, anchor); insert(target, div, anchor);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -22,11 +22,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, createElement, createText, detachNode, flush, init, insert, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, createElement, createText, detachNode, flush, init, insert, noop, safe_not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var div0, text, div1, div1_style_value, current; var div0, text, div1, div1_style_value, current, mounted;
return { return {
c() { c() {
@ -17,7 +17,7 @@ function create_fragment($$, ctx) {
insert(target, div0, anchor); insert(target, div0, anchor);
insert(target, text, anchor); insert(target, text, anchor);
insert(target, div1, anchor); insert(target, div1, anchor);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -31,11 +31,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, addListener, createElement, detachNode, flush, init, insert, noop, run, safe_not_equal, setAttribute } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, addListener, createElement, detachNode, flush, init, insert, noop, safe_not_equal, setAttribute } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var input, current, dispose; var input, current, mounted, dispose;
return { return {
c() { c() {
@ -14,17 +14,16 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
insert(target, input, anchor); insert(target, input, anchor);
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, addListener, createElement, detachNode, flush, init, insert, run, run_all, safe_not_equal, setAttribute, toNumber } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, addListener, createElement, detachNode, flush, init, insert, noop, run_all, safe_not_equal, setAttribute, toNumber } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var input, current, dispose; var input, current, mounted, dispose;
return { return {
c() { c() {
@ -20,7 +20,7 @@ function create_fragment($$, ctx) {
input.value = ctx.value; input.value = ctx.value;
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -28,11 +28,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, addListener, createElement, detachNode, flush, init, insert, run, safe_not_equal, setAttribute } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, addListener, createElement, detachNode, flush, init, insert, noop, safe_not_equal, setAttribute } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var input, current, dispose; var input, current, mounted, dispose;
return { return {
c() { c() {
@ -16,7 +16,7 @@ function create_fragment($$, ctx) {
input.checked = ctx.foo; input.checked = ctx.foo;
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -24,11 +24,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, addListener, append, createElement, createText, detachNode, init, insert, run, safe_not_equal, setData } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, addListener, append, createElement, createText, detachNode, init, insert, noop, safe_not_equal, setData } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var button, text1, p, text2, text3, current, dispose; var button, text1, p, text2, text3, current, mounted, dispose;
return { return {
c() { c() {
@ -21,7 +21,7 @@ function create_fragment($$, ctx) {
insert(target, p, anchor); insert(target, p, anchor);
append(p, text2); append(p, text2);
append(p, text3); append(p, text3);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -31,11 +31,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, addListener, append, createElement, createText, detachNode, init, insert, run, safe_not_equal, setData } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, addListener, append, createElement, createText, detachNode, init, insert, noop, safe_not_equal, setData } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var button, text1, p, text2, text3_value = ctx.things.length, text3, current, dispose; var button, text1, p, text2, text3_value = ctx.things.length, text3, current, mounted, dispose;
return { return {
c() { c() {
@ -21,7 +21,7 @@ function create_fragment($$, ctx) {
insert(target, p, anchor); insert(target, p, anchor);
append(p, text2); append(p, text2);
append(p, text3); append(p, text3);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -31,11 +31,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, addListener, append, createElement, createText, detachNode, init, insert, run, safe_not_equal, setData } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, addListener, append, createElement, createText, detachNode, init, insert, noop, safe_not_equal, setData } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var button, text1, p, text2, text3, current, dispose; var button, text1, p, text2, text3, current, mounted, dispose;
return { return {
c() { c() {
@ -21,7 +21,7 @@ function create_fragment($$, ctx) {
insert(target, p, anchor); insert(target, p, anchor);
append(p, text2); append(p, text2);
append(p, text3); append(p, text3);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -31,11 +31,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, addListener, append, createElement, createText, detachNode, init, insert, run, safe_not_equal, setData } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, addListener, append, createElement, createText, detachNode, init, insert, noop, safe_not_equal, setData } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var button, text1, p, text2, text3_value = ctx.things.length, text3, current, dispose; var button, text1, p, text2, text3_value = ctx.things.length, text3, current, mounted, dispose;
return { return {
c() { c() {
@ -21,7 +21,7 @@ function create_fragment($$, ctx) {
insert(target, p, anchor); insert(target, p, anchor);
append(p, text2); append(p, text2);
append(p, text3); append(p, text3);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -31,11 +31,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, createElement, detachNode, identity, init, insert, noop, run, safe_not_equal, setInputType } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, createElement, detachNode, identity, init, insert, noop, safe_not_equal, setInputType } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var input, current; var input, current, mounted;
return { return {
c() { c() {
@ -12,17 +12,16 @@ function create_fragment($$, ctx) {
m(target, anchor) { m(target, anchor) {
insert(target, input, anchor); insert(target, input, anchor);
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, addListener, add_render_callback, createElement, detachNode, flush, init, insert, run, run_all, safe_not_equal, timeRangesToArray } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, addListener, add_render_callback, createElement, detachNode, flush, init, insert, noop, run_all, safe_not_equal, timeRangesToArray } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var audio, audio_updating = false, audio_animationframe, audio_is_paused = true, current, dispose; var audio, audio_updating = false, audio_animationframe, audio_is_paused = true, current, mounted, dispose;
function audio_timeupdate_handler() { function audio_timeupdate_handler() {
cancelAnimationFrame(audio_animationframe); cancelAnimationFrame(audio_animationframe);
@ -35,7 +35,7 @@ function create_fragment($$, ctx) {
audio.volume = ctx.volume; audio.volume = ctx.volume;
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -46,11 +46,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,9 +1,9 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, callAfter, createText, detachNode, identity, init, insert, mount_component, noop, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, createText, detachNode, identity, init, insert, mount_component, noop, safe_not_equal } from "svelte/internal";
import Imported from "Imported.html"; import Imported from "Imported.html";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var text, current; var text, current, mounted;
var imported = new Imported({}); var imported = new Imported({});
@ -20,23 +20,18 @@ function create_fragment($$, ctx) {
mount_component(imported, target, anchor); mount_component(imported, target, anchor);
insert(target, text, anchor); insert(target, text, anchor);
mount_component(nonimported, target, anchor); mount_component(nonimported, target, anchor);
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o(outrocallback) { o() {
if (!current) return; if (imported) imported.$$.fragment.o();
if (nonimported) nonimported.$$.fragment.o();
outrocallback = callAfter(outrocallback, 2);
if (imported) imported.$$.fragment.o(outrocallback);
if (nonimported) nonimported.$$.fragment.o(outrocallback);
current = false; current = false;
}, },

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, append, createElement, detachNode, flush, init, insert, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, append, createElement, detachNode, flush, init, insert, noop, safe_not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var select, option0, option1, select_value_value, current_1; var select, option0, option1, select_value_value, current_1, mounted;
return { return {
c() { c() {
@ -32,7 +32,7 @@ function create_fragment($$, ctx) {
} }
} }
current_1 = true; current_1 = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -49,11 +49,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current_1) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,15 +1,15 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, identity, init, noop, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, identity, init, noop, safe_not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var current; var current, mounted;
return { return {
c: noop, c: noop,
m: noop, m: noop,
p: noop, p: noop,
i: noop, i: noop,
o: run, o: noop,
d: noop d: noop
}; };
} }

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, append, createSvgElement, createText, detachNode, identity, init, insert, noop, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, append, createSvgElement, createText, detachNode, identity, init, insert, noop, safe_not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var svg, title, text, current; var svg, title, text, current, mounted;
return { return {
c() { c() {
@ -15,17 +15,16 @@ function create_fragment($$, ctx) {
insert(target, svg, anchor); insert(target, svg, anchor);
append(svg, title); append(svg, title);
append(title, text); append(title, text);
current = true; current = mounted = true;
}, },
p: noop, p: noop,
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, flush, init, noop, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, flush, init, noop, safe_not_equal } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var title_value, current; var title_value, current, mounted;
document.title = title_value = "a " + ctx.custom + " title"; document.title = title_value = "a " + ctx.custom + " title";
@ -17,7 +17,7 @@ function create_fragment($$, ctx) {
}, },
i: noop, i: noop,
o: run, o: noop,
d: noop d: noop
}; };
} }

@ -1,5 +1,5 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, append, createComment, createElement, createText, detachNode, flush, init, insert, run, safe_not_equal } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, append, createComment, createElement, createText, detachNode, flush, init, insert, noop, safe_not_equal } from "svelte/internal";
// (2:1) {#if a} // (2:1) {#if a}
function create_if_block_4($$, ctx) { function create_if_block_4($$, ctx) {
@ -112,7 +112,7 @@ function create_if_block($$, ctx) {
} }
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var div, text0, p0, text2, text3, text4, p1, text6, text7, if_block4_anchor, current; var div, text0, p0, text2, text3, text4, p1, text6, text7, if_block4_anchor, current, mounted;
var if_block0 = (ctx.a) && create_if_block_4($$, ctx); var if_block0 = (ctx.a) && create_if_block_4($$, ctx);
@ -161,7 +161,7 @@ function create_fragment($$, ctx) {
insert(target, text7, anchor); insert(target, text7, anchor);
if (if_block4) if_block4.m(target, anchor); if (if_block4) if_block4.m(target, anchor);
insert(target, if_block4_anchor, anchor); insert(target, if_block4_anchor, anchor);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -222,11 +222,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, addListener, add_render_callback, append, createElement, createText, detachNode, flush, init, insert, run, safe_not_equal, setData } from "svelte/internal"; import { SvelteComponent as SvelteComponent_1, addListener, add_render_callback, append, createElement, createText, detachNode, flush, init, insert, noop, safe_not_equal, setData } from "svelte/internal";
function create_fragment($$, ctx) { function create_fragment($$, ctx) {
var scrolling = false, clear_scrolling = () => { scrolling = false }, scrolling_timeout, p, text0, text1, current, dispose; var scrolling = false, clear_scrolling = () => { scrolling = false }, scrolling_timeout, p, text0, text1, current, mounted, dispose;
add_render_callback(ctx.onwindowscroll); add_render_callback(ctx.onwindowscroll);
@ -23,7 +23,7 @@ function create_fragment($$, ctx) {
insert(target, p, anchor); insert(target, p, anchor);
append(p, text0); append(p, text0);
append(p, text1); append(p, text1);
current = true; current = mounted = true;
}, },
p(changed, ctx) { p(changed, ctx) {
@ -40,11 +40,10 @@ function create_fragment($$, ctx) {
}, },
i(target, anchor) { i(target, anchor) {
if (current) return; if (!mounted) this.m(target, anchor);
this.m(target, anchor);
}, },
o: run, o: noop,
d(detach) { d(detach) {
if (detach) { if (detach) {

@ -3,7 +3,7 @@ export default {
name: 'world' name: 'world'
}, },
test({ assert, component, target, window, raf }) { test({ assert, component, target, raf }) {
global.count = 0; global.count = 0;
component.visible = true; component.visible = true;

Loading…
Cancel
Save