update expected

pull/4742/head
pushkine 5 years ago
parent e73b258c70
commit 48298db60e

@ -30,7 +30,7 @@ export default class HeadWrapper extends Wrapper {
if (this.renderer.options.hydratable && this.fragment.nodes.length) { if (this.renderer.options.hydratable && this.fragment.nodes.length) {
nodes = block.get_unique_name('head_nodes'); nodes = block.get_unique_name('head_nodes');
block.chunks.claim.push( block.chunks.claim.push(
b`const ${nodes} = Array.from((@_document.head||@_document.body).querySelectorAll('[data-svelte="${this.node.id}"]'));` b`const ${nodes} = Array.from(( @_document.head || @_document.body ).querySelectorAll('[data-svelte="${this.node.id}"]'));`
); );
} }

@ -16,6 +16,9 @@ function normalize_warning(warning) {
warning.frame = warning.frame.replace(/^\n/, '').replace(/^\t+/gm, '').replace(/\s+$/gm, ''); warning.frame = warning.frame.replace(/^\n/, '').replace(/^\t+/gm, '').replace(/\s+$/gm, '');
delete warning.filename; delete warning.filename;
delete warning.toString; delete warning.toString;
delete warning.start;
delete warning.end;
delete warning.pos;
return warning; return warning;
} }

@ -131,9 +131,9 @@ describe('custom-elements', function () {
warnings.map((w) => ({ warnings.map((w) => ({
code: w.code, code: w.code,
message: w.message, message: w.message,
pos: w.pos, // pos: w.pos,
start: w.start, // start: w.start,
end: w.end, // end: w.end,
})), })),
expected_warnings expected_warnings
); );

@ -1,17 +1,19 @@
export default { export default {
warnings: [{ warnings: [
code: "avoid-is", {
message: "The 'is' attribute is not supported cross-browser and should be avoided", code: 'avoid-is',
pos: 98, message: "The 'is' attribute is not supported cross-browser and should be avoided",
start: { // pos: 98,
character: 98, // start: {
column: 8, // character: 98,
line: 7 // column: 8,
// line: 7
// },
// end: {
// character: 116,
// column: 26,
// line: 7
// }
}, },
end: { ],
character: 116,
column: 26,
line: 7
}
}]
}; };

@ -1,17 +1,20 @@
export default { export default {
warnings: [{ warnings: [
code: "custom-element-no-tag", {
message: "No custom element 'tag' option was specified. To automatically register a custom element, specify a name with a hyphen in it, e.g. <svelte:options tag=\"my-thing\"/>. To hide this warning, use <svelte:options tag={null}/>", code: 'custom-element-no-tag',
pos: 0, message:
start: { 'No custom element \'tag\' option was specified. To automatically register a custom element, specify a name with a hyphen in it, e.g. <svelte:options tag="my-thing"/>. To hide this warning, use <svelte:options tag={null}/>',
character: 0, // pos: 0,
column: 0, // start: {
line: 1 // character: 0,
// column: 0,
// line: 1
// },
// end: {
// character: 0,
// column: 0,
// line: 1
// }
}, },
end: { ],
character: 0,
column: 0,
line: 1
}
}]
}; };

@ -1,17 +1,20 @@
export default { export default {
warnings: [{ warnings: [
code: "custom-element-no-tag", {
message: "No custom element 'tag' option was specified. To automatically register a custom element, specify a name with a hyphen in it, e.g. <svelte:options tag=\"my-thing\"/>. To hide this warning, use <svelte:options tag={null}/>", code: 'custom-element-no-tag',
pos: 0, message:
start: { 'No custom element \'tag\' option was specified. To automatically register a custom element, specify a name with a hyphen in it, e.g. <svelte:options tag="my-thing"/>. To hide this warning, use <svelte:options tag={null}/>',
character: 0, // pos: 0,
column: 0, // start: {
line: 1 // character: 0,
// column: 0,
// line: 1
// },
// end: {
// character: 18,
// column: 18,
// line: 1
// }
}, },
end: { ],
character: 18,
column: 18,
line: 1
}
}]
}; };

@ -1,4 +1,4 @@
<title>Some Title</title> <title>Some Title</title>
<link href="/" rel="canonical"> <link href="/" rel="canonical" />
<meta content="some description" name="description"> <meta content="some description" name="description" />
<meta content="some keywords" name="keywords"> <meta content="some keywords" name="keywords" />

@ -1,4 +1,4 @@
<title>Some Title</title> <title>Some Title</title>
<link rel="canonical" href="/" data-svelte="svelte-1s8aodm"> <link rel="canonical" href="/" data-svelte="svelte-1t0pfk9" />
<meta name="description" content="some description" data-svelte="svelte-1s8aodm"> <meta name="description" content="some description" data-svelte="svelte-1t0pfk9" />
<meta name="keywords" content="some keywords" data-svelte="svelte-1s8aodm"> <meta name="keywords" content="some keywords" data-svelte="svelte-1t0pfk9" />

@ -6,7 +6,6 @@ import {
element, element,
init, init,
insert, insert,
is_function,
noop, noop,
safe_not_equal safe_not_equal
} from "svelte/internal"; } from "svelte/internal";
@ -27,7 +26,7 @@ function create_fragment(ctx) {
dispose = action_destroyer(foo_action = foo.call(null, button, /*foo_function*/ ctx[1])); dispose = action_destroyer(foo_action = foo.call(null, button, /*foo_function*/ ctx[1]));
}, },
p(ctx, [dirty]) { p(ctx, [dirty]) {
if (foo_action && is_function(foo_action.update) && dirty & /*bar*/ 1) foo_action.update.call(null, /*foo_function*/ ctx[1]); if (foo_action && "function" === typeof foo_action.update && dirty & /*bar*/ 1) foo_action.update.call(null, /*foo_function*/ ctx[1]);
}, },
i: noop, i: noop,
o: noop, o: noop,
@ -52,6 +51,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("bar" in $$props) $$invalidate(0, bar = $$props.bar); if ("bar" in $$props) $$invalidate(0, bar = $$props.bar);
0;
}; };
return [bar, foo_function]; return [bar, foo_function];

@ -5,7 +5,6 @@ import {
init, init,
listen, listen,
noop, noop,
run_all,
safe_not_equal safe_not_equal
} from "svelte/internal"; } from "svelte/internal";
@ -16,7 +15,9 @@ function create_fragment(ctx) {
return { return {
c: noop, c: noop,
m(target, anchor, remount) { m(target, anchor, remount) {
if (remount) run_all(dispose); if (remount) for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
dispose = [ dispose = [
listen(window, "online", /*onlinestatuschanged*/ ctx[1]), listen(window, "online", /*onlinestatuschanged*/ ctx[1]),
@ -27,7 +28,9 @@ function create_fragment(ctx) {
i: noop, i: noop,
o: noop, o: noop,
d(detaching) { d(detaching) {
run_all(dispose); for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
} }
}; };
} }

@ -51,6 +51,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("open" in $$props) $$invalidate(0, open = $$props.open); if ("open" in $$props) $$invalidate(0, open = $$props.open);
0;
}; };
return [open, details_toggle_handler]; return [open, details_toggle_handler];

@ -49,6 +49,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("w" in $$props) $$invalidate(0, w = $$props.w); if ("w" in $$props) $$invalidate(0, w = $$props.w);
if ("h" in $$props) $$invalidate(1, h = $$props.h); if ("h" in $$props) $$invalidate(1, h = $$props.h);
0;
}; };
return [w, h, div_elementresize_handler]; return [w, h, div_elementresize_handler];

@ -8,7 +8,6 @@ import {
insert, insert,
listen, listen,
noop, noop,
run_all,
safe_not_equal, safe_not_equal,
space space
} from "svelte/internal"; } from "svelte/internal";
@ -31,7 +30,10 @@ function create_fragment(ctx) {
insert(target, input0, anchor); insert(target, input0, anchor);
insert(target, t, anchor); insert(target, t, anchor);
insert(target, input1, anchor); insert(target, input1, anchor);
if (remount) run_all(dispose);
if (remount) for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
dispose = [ dispose = [
listen(input0, "change", /*input0_change_handler*/ ctx[1]), listen(input0, "change", /*input0_change_handler*/ ctx[1]),
@ -45,7 +47,10 @@ function create_fragment(ctx) {
if (detaching) detach(input0); if (detaching) detach(input0);
if (detaching) detach(t); if (detaching) detach(t);
if (detaching) detach(input1); if (detaching) detach(input1);
run_all(dispose);
for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
} }
}; };
} }
@ -65,6 +70,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("files" in $$props) $$invalidate(0, files = $$props.files); if ("files" in $$props) $$invalidate(0, files = $$props.files);
0;
}; };
return [files, input0_change_handler, input1_change_handler]; return [files, input0_change_handler, input1_change_handler];

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { import {
SvelteComponentDev, SvelteComponentDev,
add_location, add_location_dev,
append_dev, append,
detach_dev, detach_dev,
dispatch_dev, dispatch_dev,
element, element,
@ -14,8 +14,8 @@ import {
space, space,
subscribe, subscribe,
text, text,
validate_slots, validate_slots_dev,
validate_store validate_store_dev
} from "svelte/internal"; } from "svelte/internal";
const file = undefined; const file = undefined;
@ -48,24 +48,24 @@ function create_fragment(ctx) {
t8 = text(/*$prop*/ ctx[2]); t8 = text(/*$prop*/ ctx[2]);
t9 = space(); t9 = space();
t10 = text(/*shadowedByModule*/ ctx[4]); t10 = text(/*shadowedByModule*/ ctx[4]);
add_location(p, file, 22, 0, 430); add_location_dev(p, file, 22, 0, 452);
}, },
l: function claim(nodes) { l: function claim(nodes) {
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
}, },
m: function mount(target, anchor) { m: function mount(target, anchor) {
insert_dev(target, p, anchor); insert_dev(target, p, anchor);
append_dev(p, t0); append(p, t0);
append_dev(p, t1); append(p, t1);
append_dev(p, t2); append(p, t2);
append_dev(p, t3); append(p, t3);
append_dev(p, t4); append(p, t4);
append_dev(p, t5); append(p, t5);
append_dev(p, t6); append(p, t6);
append_dev(p, t7); append(p, t7);
append_dev(p, t8); append(p, t8);
append_dev(p, t9); append(p, t9);
append_dev(p, t10); append(p, t10);
}, },
p: function update(ctx, [dirty]) { p: function update(ctx, [dirty]) {
if (dirty & /*prop*/ 1) set_data_dev(t0, /*prop*/ ctx[0]); if (dirty & /*prop*/ 1) set_data_dev(t0, /*prop*/ ctx[0]);
@ -100,11 +100,13 @@ const priv = "priv";
function instance($$self, $$props, $$invalidate) { function instance($$self, $$props, $$invalidate) {
let $prop, let $prop,
$$unsubscribe_prop = noop, $$unsubscribe_prop = noop,
$$subscribe_prop = () => ($$unsubscribe_prop(), $$unsubscribe_prop = subscribe(prop, $$value => $$invalidate(2, $prop = $$value)), prop); $$subscribe_prop = () => ($$unsubscribe_prop(), $$unsubscribe_prop = subscribe(prop, value => {
$$invalidate(2, $prop = value);
}), prop);
$$self.$$.on_destroy.push(() => $$unsubscribe_prop()); $$self.$$.on_destroy.push(() => $$unsubscribe_prop());
let { prop } = $$props; let { prop } = $$props;
validate_store(prop, "prop"); validate_store_dev(prop, "prop");
$$subscribe_prop(); $$subscribe_prop();
let { alias: realName } = $$props; let { alias: realName } = $$props;
let local; let local;
@ -116,11 +118,12 @@ function instance($$self, $$props, $$invalidate) {
}); });
let { $$slots = {}, $$scope } = $$props; let { $$slots = {}, $$scope } = $$props;
validate_slots("Component", $$slots, []); validate_slots_dev("Component", $$slots, []);
$$self.$set = $$props => { $$self.$set = $$props => {
if ("prop" in $$props) $$subscribe_prop($$invalidate(0, prop = $$props.prop)); if ("prop" in $$props) $$subscribe_prop($$invalidate(0, prop = $$props.prop));
if ("alias" in $$props) $$invalidate(1, realName = $$props.alias); if ("alias" in $$props) $$invalidate(1, realName = $$props.alias);
0;
}; };
$$self.$capture_state = () => ({ $$self.$capture_state = () => ({

@ -15,8 +15,8 @@ import {
function add_css() { function add_css() {
var style = element("style"); var style = element("style");
style.id = "svelte-1a7i8ec-style"; style.id = "svelte-1o8xv48-style";
style.textContent = "p.svelte-1a7i8ec{color:red}"; style.textContent = "p.svelte-1o8xv48{color:red}";
append(document.head, style); append(document.head, style);
} }
@ -28,7 +28,7 @@ function create_fragment(ctx) {
c() { c() {
p = element("p"); p = element("p");
t = text(/*foo*/ ctx[0]); t = text(/*foo*/ ctx[0]);
attr(p, "class", "svelte-1a7i8ec"); attr(p, "class", "svelte-1o8xv48");
}, },
m(target, anchor) { m(target, anchor) {
insert(target, p, anchor); insert(target, p, anchor);
@ -50,6 +50,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("foo" in $$props) $$invalidate(0, foo = $$props.foo); if ("foo" in $$props) $$invalidate(0, foo = $$props.foo);
0;
}; };
return [foo]; return [foo];
@ -58,7 +59,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent { class Component extends SvelteComponent {
constructor(options) { constructor(options) {
super(); super();
if (!document.getElementById("svelte-1a7i8ec-style")) add_css(); if (!document.getElementById("svelte-1o8xv48-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 });
} }
} }

@ -1,7 +1,6 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { import {
SvelteComponent, SvelteComponent,
create_component,
destroy_component, destroy_component,
init, init,
mount_component, mount_component,
@ -17,7 +16,7 @@ function create_fragment(ctx) {
return { return {
c() { c() {
create_component(nested.$$.fragment); if (nested.$$.fragment) nested.$$.fragment.c();
}, },
m(target, anchor) { m(target, anchor) {
mount_component(nested, target, anchor); mount_component(nested, target, anchor);

@ -1,7 +1,6 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { import {
SvelteComponent, SvelteComponent,
create_component,
destroy_component, destroy_component,
init, init,
mount_component, mount_component,
@ -17,7 +16,7 @@ function create_fragment(ctx) {
return { return {
c() { c() {
create_component(nested.$$.fragment); if (nested.$$.fragment) nested.$$.fragment.c();
}, },
m(target, anchor) { m(target, anchor) {
mount_component(nested, target, anchor); mount_component(nested, target, anchor);

@ -1,7 +1,6 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { import {
SvelteComponent, SvelteComponent,
create_component,
destroy_component, destroy_component,
init, init,
mount_component, mount_component,
@ -17,7 +16,7 @@ function create_fragment(ctx) {
return { return {
c() { c() {
create_component(nested.$$.fragment); if (nested.$$.fragment) nested.$$.fragment.c();
}, },
m(target, anchor) { m(target, anchor) {
mount_component(nested, target, anchor); mount_component(nested, target, anchor);

@ -1,7 +1,6 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { import {
SvelteComponent, SvelteComponent,
create_component,
destroy_component, destroy_component,
detach, detach,
element, element,
@ -30,9 +29,9 @@ function create_fragment(ctx) {
return { return {
c() { c() {
create_component(foo.$$.fragment); if (foo.$$.fragment) foo.$$.fragment.c();
t0 = space(); t0 = space();
create_component(bar.$$.fragment); if (bar.$$.fragment) bar.$$.fragment.c();
t1 = space(); t1 = space();
input = element("input"); input = element("input");
}, },

@ -1,7 +1,6 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { import {
SvelteComponent, SvelteComponent,
create_component,
destroy_component, destroy_component,
init, init,
mount_component, mount_component,
@ -17,7 +16,7 @@ function create_fragment(ctx) {
return { return {
c() { c() {
create_component(nested.$$.fragment); if (nested.$$.fragment) nested.$$.fragment.c();
}, },
m(target, anchor) { m(target, anchor) {
mount_component(nested, target, anchor); mount_component(nested, target, anchor);

@ -2,7 +2,6 @@
import { import {
SvelteComponent, SvelteComponent,
append, append,
component_subscribe,
detach, detach,
element, element,
init, init,
@ -10,6 +9,7 @@ import {
noop, noop,
safe_not_equal, safe_not_equal,
set_data, set_data,
subscribe,
text text
} from "svelte/internal"; } from "svelte/internal";
@ -42,7 +42,11 @@ function create_fragment(ctx) {
function instance($$self, $$props, $$invalidate) { function instance($$self, $$props, $$invalidate) {
let $foo; let $foo;
const foo = writable(0); const foo = writable(0);
component_subscribe($$self, foo, value => $$invalidate(0, $foo = value));
$$self.$$.on_destroy.push(subscribe(foo, value => {
$$invalidate(0, $foo = value);
}));
return [$foo, foo]; return [$foo, foo];
} }

@ -1,17 +1,20 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { import {
SvelteComponent, SvelteComponent,
component_subscribe,
init, init,
safe_not_equal, safe_not_equal,
set_store_value set_store_value,
subscribe
} from "svelte/internal"; } from "svelte/internal";
import { count } from "./store.js"; import { count } from "./store.js";
function instance($$self, $$props, $$invalidate) { function instance($$self, $$props, $$invalidate) {
let $count; let $count;
component_subscribe($$self, count, $$value => $$invalidate(1, $count = $$value));
$$self.$$.on_destroy.push(subscribe(count, value => {
$$invalidate(1, $count = value);
}));
function increment() { function increment() {
set_store_value(count, $count++, $count); set_store_value(count, $count++, $count);

@ -57,7 +57,9 @@ function create_fragment(ctx) {
function instance($$self, $$props, $$invalidate) { function instance($$self, $$props, $$invalidate) {
let $foo, let $foo,
$$unsubscribe_foo = noop, $$unsubscribe_foo = noop,
$$subscribe_foo = () => ($$unsubscribe_foo(), $$unsubscribe_foo = subscribe(foo, $$value => $$invalidate(1, $foo = $$value)), foo); $$subscribe_foo = () => ($$unsubscribe_foo(), $$unsubscribe_foo = subscribe(foo, value => {
$$invalidate(1, $foo = value);
}), foo);
$$self.$$.on_destroy.push(() => $$unsubscribe_foo()); $$self.$$.on_destroy.push(() => $$unsubscribe_foo());
let foo = writable(0); let foo = writable(0);

@ -14,6 +14,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("x" in $$props) $$invalidate(0, x = $$props.x); if ("x" in $$props) $$invalidate(0, x = $$props.x);
0;
}; };
return [x, a, b]; return [x, a, b];

@ -13,8 +13,8 @@ import {
function add_css() { function add_css() {
var style = element("style"); var style = element("style");
style.id = "svelte-1slhpfn-style"; style.id = "svelte-8exri5-style";
style.textContent = "@media(min-width: 1px){div.svelte-1slhpfn{color:red}}"; style.textContent = "@media(min-width: 1px){div.svelte-8exri5{color:red}}";
append(document.head, style); append(document.head, style);
} }
@ -24,7 +24,7 @@ function create_fragment(ctx) {
return { return {
c() { c() {
div = element("div"); div = element("div");
attr(div, "class", "svelte-1slhpfn"); attr(div, "class", "svelte-8exri5");
}, },
m(target, anchor) { m(target, anchor) {
insert(target, div, anchor); insert(target, div, anchor);
@ -41,7 +41,7 @@ function create_fragment(ctx) {
class Component extends SvelteComponent { class Component extends SvelteComponent {
constructor(options) { constructor(options) {
super(); super();
if (!document.getElementById("svelte-1slhpfn-style")) add_css(); if (!document.getElementById("svelte-8exri5-style")) add_css();
init(this, options, null, create_fragment, safe_not_equal, {}); init(this, options, null, create_fragment, safe_not_equal, {});
} }
} }

@ -49,6 +49,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("bar" in $$props) $$invalidate(0, bar = $$props.bar); if ("bar" in $$props) $$invalidate(0, bar = $$props.bar);
0;
}; };
return [bar]; return [bar];

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { import {
SvelteComponentDev, SvelteComponentDev,
add_location, add_location_dev,
append_dev, append,
detach_dev, detach_dev,
dispatch_dev, dispatch_dev,
element, element,
@ -13,7 +13,7 @@ import {
set_data_dev, set_data_dev,
space, space,
text, text,
validate_slots validate_slots_dev
} from "svelte/internal"; } from "svelte/internal";
const file = undefined; const file = undefined;
@ -33,16 +33,16 @@ function create_fragment(ctx) {
t2 = text("!"); t2 = text("!");
t3 = space(); t3 = space();
debugger; debugger;
add_location(h1, file, 4, 0, 38); add_location_dev(h1, file, 4, 0, 42);
}, },
l: function claim(nodes) { l: function claim(nodes) {
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
}, },
m: function mount(target, anchor) { m: function mount(target, anchor) {
insert_dev(target, h1, anchor); insert_dev(target, h1, anchor);
append_dev(h1, t0); append(h1, t0);
append_dev(h1, t1); append(h1, t1);
append_dev(h1, t2); append(h1, t2);
insert_dev(target, t3, anchor); insert_dev(target, t3, anchor);
}, },
p: function update(ctx, [dirty]) { p: function update(ctx, [dirty]) {
@ -77,10 +77,11 @@ function instance($$self, $$props, $$invalidate) {
}); });
let { $$slots = {}, $$scope } = $$props; let { $$slots = {}, $$scope } = $$props;
validate_slots("Component", $$slots, []); validate_slots_dev("Component", $$slots, []);
$$self.$set = $$props => { $$self.$set = $$props => {
if ("name" in $$props) $$invalidate(0, name = $$props.name); if ("name" in $$props) $$invalidate(0, name = $$props.name);
0;
}; };
$$self.$capture_state = () => ({ name }); $$self.$capture_state = () => ({ name });

@ -1,21 +1,21 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { import {
SvelteComponentDev, SvelteComponentDev,
add_location, add_location_dev,
append_dev, append,
destroy_each, destroy_each,
detach_dev, detach_dev,
dispatch_dev, dispatch_dev,
element, element,
init, init,
insert_dev, insert_dev,
is_array_like_dev,
noop, noop,
safe_not_equal, safe_not_equal,
set_data_dev, set_data_dev,
space, space,
text, text,
validate_each_argument, validate_slots_dev
validate_slots
} from "svelte/internal"; } from "svelte/internal";
const file = undefined; const file = undefined;
@ -48,11 +48,11 @@ function create_each_block(ctx) {
debugger; debugger;
} }
add_location(span, file, 8, 1, 116); add_location_dev(span, file, 8, 1, 124);
}, },
m: function mount(target, anchor) { m: function mount(target, anchor) {
insert_dev(target, span, anchor); insert_dev(target, span, anchor);
append_dev(span, t0); append(span, t0);
insert_dev(target, t1, anchor); insert_dev(target, t1, anchor);
}, },
p: function update(ctx, dirty) { p: function update(ctx, dirty) {
@ -90,16 +90,16 @@ function create_fragment(ctx) {
let t1; let t1;
let t2; let t2;
let each_value = /*things*/ ctx[0]; let each_value = /*things*/ ctx[0];
validate_each_argument(each_value); is_array_like_dev(each_value);
let each_blocks = []; let each_blocks = [];
for (let i = 0; i < each_value.length; i += 1) { for (let i = 0; i < each_value.length; i++) {
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i)); each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
} }
const block = { const block = {
c: function create() { c: function create() {
for (let i = 0; i < each_blocks.length; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].c(); each_blocks[i].c();
} }
@ -107,40 +107,42 @@ function create_fragment(ctx) {
p = element("p"); p = element("p");
t1 = text("foo: "); t1 = text("foo: ");
t2 = text(/*foo*/ ctx[1]); t2 = text(/*foo*/ ctx[1]);
add_location(p, file, 12, 0, 182); add_location_dev(p, file, 12, 0, 194);
}, },
l: function claim(nodes) { l: function claim(nodes) {
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
}, },
m: function mount(target, anchor) { m: function mount(target, anchor) {
for (let i = 0; i < each_blocks.length; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].m(target, anchor); each_blocks[i].m(target, anchor);
} }
insert_dev(target, t0, anchor); insert_dev(target, t0, anchor);
insert_dev(target, p, anchor); insert_dev(target, p, anchor);
append_dev(p, t1); append(p, t1);
append_dev(p, t2); append(p, t2);
}, },
p: function update(ctx, [dirty]) { p: function update(ctx, [dirty]) {
if (dirty & /*things*/ 1) { if (dirty & /*things*/ 1) {
each_value = /*things*/ ctx[0]; each_value = /*things*/ ctx[0];
validate_each_argument(each_value); is_array_like_dev(each_value);
let i; let i = 0;
let block;
for (i = 0; i < each_value.length; i += 1) { for (; i < each_value.length; i++) {
block = each_blocks[i];
const child_ctx = get_each_context(ctx, each_value, i); const child_ctx = get_each_context(ctx, each_value, i);
if (each_blocks[i]) { if (block) {
each_blocks[i].p(child_ctx, dirty); block.p(child_ctx, dirty);
} else { } else {
each_blocks[i] = create_each_block(child_ctx); block = each_blocks[i] = create_each_block(child_ctx);
each_blocks[i].c(); block.c();
each_blocks[i].m(t0.parentNode, t0); block.m(t0.parentNode, t0);
} }
} }
for (; i < each_blocks.length; i += 1) { for (; i < each_blocks.length; i++) {
each_blocks[i].d(1); each_blocks[i].d(1);
} }
@ -181,13 +183,14 @@ function instance($$self, $$props, $$invalidate) {
}); });
let { $$slots = {}, $$scope } = $$props; let { $$slots = {}, $$scope } = $$props;
validate_slots("Component", $$slots, []); validate_slots_dev("Component", $$slots, []);
$$self.$set = $$props => { $$self.$set = $$props => {
if ("things" in $$props) $$invalidate(0, things = $$props.things); if ("things" in $$props) $$invalidate(0, things = $$props.things);
if ("foo" in $$props) $$invalidate(1, foo = $$props.foo); if ("foo" in $$props) $$invalidate(1, foo = $$props.foo);
if ("bar" in $$props) $$invalidate(2, bar = $$props.bar); if ("bar" in $$props) $$invalidate(2, bar = $$props.bar);
if ("baz" in $$props) $$invalidate(3, baz = $$props.baz); if ("baz" in $$props) $$invalidate(3, baz = $$props.baz);
0;
}; };
$$self.$capture_state = () => ({ things, foo, bar, baz }); $$self.$capture_state = () => ({ things, foo, bar, baz });

@ -1,21 +1,21 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { import {
SvelteComponentDev, SvelteComponentDev,
add_location, add_location_dev,
append_dev, append,
destroy_each, destroy_each,
detach_dev, detach_dev,
dispatch_dev, dispatch_dev,
element, element,
init, init,
insert_dev, insert_dev,
is_array_like_dev,
noop, noop,
safe_not_equal, safe_not_equal,
set_data_dev, set_data_dev,
space, space,
text, text,
validate_each_argument, validate_slots_dev
validate_slots
} from "svelte/internal"; } from "svelte/internal";
const file = undefined; const file = undefined;
@ -45,11 +45,11 @@ function create_each_block(ctx) {
debugger; debugger;
} }
add_location(span, file, 6, 1, 82); add_location_dev(span, file, 6, 1, 88);
}, },
m: function mount(target, anchor) { m: function mount(target, anchor) {
insert_dev(target, span, anchor); insert_dev(target, span, anchor);
append_dev(span, t0); append(span, t0);
insert_dev(target, t1, anchor); insert_dev(target, t1, anchor);
}, },
p: function update(ctx, dirty) { p: function update(ctx, dirty) {
@ -84,16 +84,16 @@ function create_fragment(ctx) {
let t1; let t1;
let t2; let t2;
let each_value = /*things*/ ctx[0]; let each_value = /*things*/ ctx[0];
validate_each_argument(each_value); is_array_like_dev(each_value);
let each_blocks = []; let each_blocks = [];
for (let i = 0; i < each_value.length; i += 1) { for (let i = 0; i < each_value.length; i++) {
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i)); each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
} }
const block = { const block = {
c: function create() { c: function create() {
for (let i = 0; i < each_blocks.length; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].c(); each_blocks[i].c();
} }
@ -101,40 +101,42 @@ function create_fragment(ctx) {
p = element("p"); p = element("p");
t1 = text("foo: "); t1 = text("foo: ");
t2 = text(/*foo*/ ctx[1]); t2 = text(/*foo*/ ctx[1]);
add_location(p, file, 10, 0, 131); add_location_dev(p, file, 10, 0, 141);
}, },
l: function claim(nodes) { l: function claim(nodes) {
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
}, },
m: function mount(target, anchor) { m: function mount(target, anchor) {
for (let i = 0; i < each_blocks.length; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].m(target, anchor); each_blocks[i].m(target, anchor);
} }
insert_dev(target, t0, anchor); insert_dev(target, t0, anchor);
insert_dev(target, p, anchor); insert_dev(target, p, anchor);
append_dev(p, t1); append(p, t1);
append_dev(p, t2); append(p, t2);
}, },
p: function update(ctx, [dirty]) { p: function update(ctx, [dirty]) {
if (dirty & /*things*/ 1) { if (dirty & /*things*/ 1) {
each_value = /*things*/ ctx[0]; each_value = /*things*/ ctx[0];
validate_each_argument(each_value); is_array_like_dev(each_value);
let i; let i = 0;
let block;
for (i = 0; i < each_value.length; i += 1) { for (; i < each_value.length; i++) {
block = each_blocks[i];
const child_ctx = get_each_context(ctx, each_value, i); const child_ctx = get_each_context(ctx, each_value, i);
if (each_blocks[i]) { if (block) {
each_blocks[i].p(child_ctx, dirty); block.p(child_ctx, dirty);
} else { } else {
each_blocks[i] = create_each_block(child_ctx); block = each_blocks[i] = create_each_block(child_ctx);
each_blocks[i].c(); block.c();
each_blocks[i].m(t0.parentNode, t0); block.m(t0.parentNode, t0);
} }
} }
for (; i < each_blocks.length; i += 1) { for (; i < each_blocks.length; i++) {
each_blocks[i].d(1); each_blocks[i].d(1);
} }
@ -173,11 +175,12 @@ function instance($$self, $$props, $$invalidate) {
}); });
let { $$slots = {}, $$scope } = $$props; let { $$slots = {}, $$scope } = $$props;
validate_slots("Component", $$slots, []); validate_slots_dev("Component", $$slots, []);
$$self.$set = $$props => { $$self.$set = $$props => {
if ("things" in $$props) $$invalidate(0, things = $$props.things); if ("things" in $$props) $$invalidate(0, things = $$props.things);
if ("foo" in $$props) $$invalidate(1, foo = $$props.foo); if ("foo" in $$props) $$invalidate(1, foo = $$props.foo);
0;
}; };
$$self.$capture_state = () => ({ things, foo }); $$self.$capture_state = () => ({ things, foo });

@ -5,7 +5,7 @@ import {
init, init,
noop, noop,
safe_not_equal, safe_not_equal,
validate_slots validate_slots_dev
} from "svelte/internal"; } from "svelte/internal";
const file = undefined; const file = undefined;
@ -58,7 +58,7 @@ function instance($$self, $$props, $$invalidate) {
}); });
let { $$slots = {}, $$scope } = $$props; let { $$slots = {}, $$scope } = $$props;
validate_slots("Component", $$slots, []); validate_slots_dev("Component", $$slots, []);
$$self.$capture_state = () => ({ obj, kobzol }); $$self.$capture_state = () => ({ obj, kobzol });
$$self.$inject_state = $$props => { $$self.$inject_state = $$props => {

@ -7,12 +7,12 @@ import {
empty, empty,
init, init,
insert_dev, insert_dev,
is_array_like_dev,
noop, noop,
safe_not_equal, safe_not_equal,
space, space,
text, text,
validate_each_argument, validate_slots_dev
validate_slots
} from "svelte/internal"; } from "svelte/internal";
const file = undefined; const file = undefined;
@ -66,16 +66,16 @@ function create_each_block(ctx) {
function create_fragment(ctx) { function create_fragment(ctx) {
let each_1_anchor; let each_1_anchor;
let each_value = things; let each_value = things;
validate_each_argument(each_value); is_array_like_dev(each_value);
let each_blocks = []; let each_blocks = [];
for (let i = 0; i < each_value.length; i += 1) { for (let i = 0; i < each_value.length; i++) {
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i)); each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
} }
const block = { const block = {
c: function create() { c: function create() {
for (let i = 0; i < each_blocks.length; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].c(); each_blocks[i].c();
} }
@ -85,7 +85,7 @@ function create_fragment(ctx) {
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
}, },
m: function mount(target, anchor) { m: function mount(target, anchor) {
for (let i = 0; i < each_blocks.length; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].m(target, anchor); each_blocks[i].m(target, anchor);
} }
@ -94,22 +94,24 @@ function create_fragment(ctx) {
p: function update(ctx, [dirty]) { p: function update(ctx, [dirty]) {
if (dirty & /*things*/ 0) { if (dirty & /*things*/ 0) {
each_value = things; each_value = things;
validate_each_argument(each_value); is_array_like_dev(each_value);
let i; let i = 0;
let block;
for (i = 0; i < each_value.length; i += 1) { for (; i < each_value.length; i++) {
block = each_blocks[i];
const child_ctx = get_each_context(ctx, each_value, i); const child_ctx = get_each_context(ctx, each_value, i);
if (each_blocks[i]) { if (block) {
each_blocks[i].p(child_ctx, dirty); block.p(child_ctx, dirty);
} else { } else {
each_blocks[i] = create_each_block(child_ctx); block = each_blocks[i] = create_each_block(child_ctx);
each_blocks[i].c(); block.c();
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor); block.m(each_1_anchor.parentNode, each_1_anchor);
} }
} }
for (; i < each_blocks.length; i += 1) { for (; i < each_blocks.length; i++) {
each_blocks[i].d(1); each_blocks[i].d(1);
} }
@ -143,7 +145,7 @@ function instance($$self, $$props) {
}); });
let { $$slots = {}, $$scope } = $$props; let { $$slots = {}, $$scope } = $$props;
validate_slots("Component", $$slots, []); validate_slots_dev("Component", $$slots, []);
return []; return [];
} }

@ -49,20 +49,20 @@ function create_fragment(ctx) {
let each_value = /*createElement*/ ctx[0]; let each_value = /*createElement*/ ctx[0];
let each_blocks = []; let each_blocks = [];
for (let i = 0; i < each_value.length; i += 1) { for (let i = 0; i < each_value.length; i++) {
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i)); each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
} }
return { return {
c() { c() {
for (let i = 0; i < each_blocks.length; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].c(); each_blocks[i].c();
} }
each_1_anchor = empty(); each_1_anchor = empty();
}, },
m(target, anchor) { m(target, anchor) {
for (let i = 0; i < each_blocks.length; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].m(target, anchor); each_blocks[i].m(target, anchor);
} }
@ -71,21 +71,23 @@ function create_fragment(ctx) {
p(ctx, [dirty]) { p(ctx, [dirty]) {
if (dirty & /*createElement*/ 1) { if (dirty & /*createElement*/ 1) {
each_value = /*createElement*/ ctx[0]; each_value = /*createElement*/ ctx[0];
let i; let i = 0;
let block;
for (i = 0; i < each_value.length; i += 1) { for (; i < each_value.length; i++) {
block = each_blocks[i];
const child_ctx = get_each_context(ctx, each_value, i); const child_ctx = get_each_context(ctx, each_value, i);
if (each_blocks[i]) { if (block) {
each_blocks[i].p(child_ctx, dirty); block.p(child_ctx, dirty);
} else { } else {
each_blocks[i] = create_each_block(child_ctx); block = each_blocks[i] = create_each_block(child_ctx);
each_blocks[i].c(); block.c();
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor); block.m(each_1_anchor.parentNode, each_1_anchor);
} }
} }
for (; i < each_blocks.length; i += 1) { for (; i < each_blocks.length; i++) {
each_blocks[i].d(1); each_blocks[i].d(1);
} }
@ -106,6 +108,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("createElement" in $$props) $$invalidate(0, createElement = $$props.createElement); if ("createElement" in $$props) $$invalidate(0, createElement = $$props.createElement);
0;
}; };
return [createElement]; return [createElement];

@ -12,6 +12,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("foo" in $$props) $$invalidate(0, foo = $$props.foo); if ("foo" in $$props) $$invalidate(0, foo = $$props.foo);
0;
}; };
return [foo]; return [foo];

@ -1,8 +1,8 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { import {
SvelteComponentDev, SvelteComponentDev,
add_location, add_location_dev,
append_dev, append,
detach_dev, detach_dev,
dispatch_dev, dispatch_dev,
element, element,
@ -13,7 +13,7 @@ import {
set_data_dev, set_data_dev,
space, space,
text, text,
validate_slots validate_slots_dev
} from "svelte/internal"; } from "svelte/internal";
const file = undefined; const file = undefined;
@ -31,16 +31,16 @@ function create_fragment(ctx) {
t0 = text(t0_value); t0 = text(t0_value);
t1 = space(); t1 = space();
t2 = text(/*bar*/ ctx[1]); t2 = text(/*bar*/ ctx[1]);
add_location(p, file, 7, 0, 67); add_location_dev(p, file, 7, 0, 74);
}, },
l: function claim(nodes) { l: function claim(nodes) {
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
}, },
m: function mount(target, anchor) { m: function mount(target, anchor) {
insert_dev(target, p, anchor); insert_dev(target, p, anchor);
append_dev(p, t0); append(p, t0);
append_dev(p, t1); append(p, t1);
append_dev(p, t2); append(p, t2);
}, },
p: function update(ctx, [dirty]) { p: function update(ctx, [dirty]) {
if (dirty & /*foo*/ 1 && t0_value !== (t0_value = Math.max(0, /*foo*/ ctx[0]) + "")) set_data_dev(t0, t0_value); if (dirty & /*foo*/ 1 && t0_value !== (t0_value = Math.max(0, /*foo*/ ctx[0]) + "")) set_data_dev(t0, t0_value);
@ -74,10 +74,11 @@ function instance($$self, $$props, $$invalidate) {
}); });
let { $$slots = {}, $$scope } = $$props; let { $$slots = {}, $$scope } = $$props;
validate_slots("Component", $$slots, []); validate_slots_dev("Component", $$slots, []);
$$self.$set = $$props => { $$self.$set = $$props => {
if ("foo" in $$props) $$invalidate(0, foo = $$props.foo); if ("foo" in $$props) $$invalidate(0, foo = $$props.foo);
0;
}; };
$$self.$capture_state = () => ({ foo, bar }); $$self.$capture_state = () => ({ foo, bar });

@ -1,7 +1,6 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { import {
SvelteComponent, SvelteComponent,
create_component,
destroy_component, destroy_component,
init, init,
mount_component, mount_component,
@ -19,7 +18,7 @@ function create_fragment(ctx) {
return { return {
c() { c() {
create_component(lazyload.$$.fragment); if (lazyload.$$.fragment) lazyload.$$.fragment.c();
}, },
m(target, anchor) { m(target, anchor) {
mount_component(lazyload, target, anchor); mount_component(lazyload, target, anchor);

@ -49,20 +49,20 @@ function create_fragment(ctx) {
let each_value = [/*a*/ ctx[0], /*b*/ ctx[1], /*c*/ ctx[2], /*d*/ ctx[3], /*e*/ ctx[4]]; let each_value = [/*a*/ ctx[0], /*b*/ ctx[1], /*c*/ ctx[2], /*d*/ ctx[3], /*e*/ ctx[4]];
let each_blocks = []; let each_blocks = [];
for (let i = 0; i < 5; i += 1) { for (let i = 0; i < each_value.length; i++) {
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i)); each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
} }
return { return {
c() { c() {
for (let i = 0; i < 5; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].c(); each_blocks[i].c();
} }
each_1_anchor = empty(); each_1_anchor = empty();
}, },
m(target, anchor) { m(target, anchor) {
for (let i = 0; i < 5; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].m(target, anchor); each_blocks[i].m(target, anchor);
} }
@ -71,23 +71,27 @@ function create_fragment(ctx) {
p(ctx, [dirty]) { p(ctx, [dirty]) {
if (dirty & /*a, b, c, d, e*/ 31) { if (dirty & /*a, b, c, d, e*/ 31) {
each_value = [/*a*/ ctx[0], /*b*/ ctx[1], /*c*/ ctx[2], /*d*/ ctx[3], /*e*/ ctx[4]]; each_value = [/*a*/ ctx[0], /*b*/ ctx[1], /*c*/ ctx[2], /*d*/ ctx[3], /*e*/ ctx[4]];
let i; let i = 0;
let block;
for (i = 0; i < 5; i += 1) { for (; i < each_value.length; i++) {
block = each_blocks[i];
const child_ctx = get_each_context(ctx, each_value, i); const child_ctx = get_each_context(ctx, each_value, i);
if (each_blocks[i]) { if (block) {
each_blocks[i].p(child_ctx, dirty); block.p(child_ctx, dirty);
} else { } else {
each_blocks[i] = create_each_block(child_ctx); block = each_blocks[i] = create_each_block(child_ctx);
each_blocks[i].c(); block.c();
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor); block.m(each_1_anchor.parentNode, each_1_anchor);
} }
} }
for (; i < 5; i += 1) { for (; i < each_blocks.length; i++) {
each_blocks[i].d(1); each_blocks[i].d(1);
} }
each_blocks.length = each_value.length;
} }
}, },
i: noop, i: noop,
@ -112,6 +116,7 @@ function instance($$self, $$props, $$invalidate) {
if ("c" in $$props) $$invalidate(2, c = $$props.c); if ("c" in $$props) $$invalidate(2, c = $$props.c);
if ("d" in $$props) $$invalidate(3, d = $$props.d); if ("d" in $$props) $$invalidate(3, d = $$props.d);
if ("e" in $$props) $$invalidate(4, e = $$props.e); if ("e" in $$props) $$invalidate(4, e = $$props.e);
0;
}; };
return [a, b, c, d, e]; return [a, b, c, d, e];

@ -87,13 +87,13 @@ function create_fragment(ctx) {
let each_value = /*comments*/ ctx[0]; let each_value = /*comments*/ ctx[0];
let each_blocks = []; let each_blocks = [];
for (let i = 0; i < each_value.length; i += 1) { for (let i = 0; i < each_value.length; i++) {
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i)); each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
} }
return { return {
c() { c() {
for (let i = 0; i < each_blocks.length; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].c(); each_blocks[i].c();
} }
@ -102,7 +102,7 @@ function create_fragment(ctx) {
t1 = text(/*foo*/ ctx[3]); t1 = text(/*foo*/ ctx[3]);
}, },
m(target, anchor) { m(target, anchor) {
for (let i = 0; i < each_blocks.length; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].m(target, anchor); each_blocks[i].m(target, anchor);
} }
@ -113,21 +113,23 @@ function create_fragment(ctx) {
p(ctx, [dirty]) { p(ctx, [dirty]) {
if (dirty & /*comments, elapsed, time*/ 7) { if (dirty & /*comments, elapsed, time*/ 7) {
each_value = /*comments*/ ctx[0]; each_value = /*comments*/ ctx[0];
let i; let i = 0;
let block;
for (i = 0; i < each_value.length; i += 1) { for (; i < each_value.length; i++) {
block = each_blocks[i];
const child_ctx = get_each_context(ctx, each_value, i); const child_ctx = get_each_context(ctx, each_value, i);
if (each_blocks[i]) { if (block) {
each_blocks[i].p(child_ctx, dirty); block.p(child_ctx, dirty);
} else { } else {
each_blocks[i] = create_each_block(child_ctx); block = each_blocks[i] = create_each_block(child_ctx);
each_blocks[i].c(); block.c();
each_blocks[i].m(t0.parentNode, t0); block.m(t0.parentNode, t0);
} }
} }
for (; i < each_blocks.length; i += 1) { for (; i < each_blocks.length; i++) {
each_blocks[i].d(1); each_blocks[i].d(1);
} }
@ -157,6 +159,7 @@ function instance($$self, $$props, $$invalidate) {
if ("elapsed" in $$props) $$invalidate(1, elapsed = $$props.elapsed); if ("elapsed" in $$props) $$invalidate(1, elapsed = $$props.elapsed);
if ("time" in $$props) $$invalidate(2, time = $$props.time); if ("time" in $$props) $$invalidate(2, time = $$props.time);
if ("foo" in $$props) $$invalidate(3, foo = $$props.foo); if ("foo" in $$props) $$invalidate(3, foo = $$props.foo);
0;
}; };
return [comments, elapsed, time, foo]; return [comments, elapsed, time, foo];

@ -2,15 +2,14 @@
import { import {
SvelteComponent, SvelteComponent,
append, append,
create_animation,
detach, detach,
element, element,
empty, empty,
fix_and_destroy_block,
fix_position, fix_position,
init, init,
insert, insert,
noop, noop,
run_animation,
safe_not_equal, safe_not_equal,
set_data, set_data,
text, text,
@ -28,6 +27,7 @@ function create_each_block(key_1, ctx) {
let div; let div;
let t_value = /*thing*/ ctx[1].name + ""; let t_value = /*thing*/ ctx[1].name + "";
let t; let t;
let unfreeze;
let rect; let rect;
let stop_animation = noop; let stop_animation = noop;
@ -43,22 +43,26 @@ function create_each_block(key_1, ctx) {
insert(target, div, anchor); insert(target, div, anchor);
append(div, t); append(div, t);
}, },
p(ctx, dirty) { p(new_ctx, dirty) {
ctx = new_ctx;
if (dirty & /*things*/ 1 && t_value !== (t_value = /*thing*/ ctx[1].name + "")) set_data(t, t_value); if (dirty & /*things*/ 1 && t_value !== (t_value = /*thing*/ ctx[1].name + "")) set_data(t, t_value);
}, },
r() { r() {
rect = div.getBoundingClientRect(); rect = div.getBoundingClientRect();
}, },
f() { f() {
fix_position(div);
stop_animation(); stop_animation();
unfreeze = fix_position(div, rect);
}, },
a() { a() {
stop_animation(); if (unfreeze) return; else {
stop_animation = create_animation(div, rect, foo, {}); stop_animation();
stop_animation = run_animation(div, rect, foo);
}
}, },
d(detaching) { d(detaching) {
if (detaching) detach(div); if (detaching) detach(div);
unfreeze = void 0;
} }
}; };
} }
@ -70,22 +74,22 @@ function create_fragment(ctx) {
let each_value = /*things*/ ctx[0]; let each_value = /*things*/ ctx[0];
const get_key = ctx => /*thing*/ ctx[1].id; const get_key = ctx => /*thing*/ ctx[1].id;
for (let i = 0; i < each_value.length; i += 1) { for (let i = 0; i < each_value.length; i++) {
let child_ctx = get_each_context(ctx, each_value, i); const child_ctx = get_each_context(ctx, each_value, i);
let key = get_key(child_ctx); const key = get_key(child_ctx);
each_1_lookup.set(key, each_blocks[i] = create_each_block(key, child_ctx)); each_1_lookup.set(key, each_blocks[i] = create_each_block(key, child_ctx));
} }
return { return {
c() { c() {
for (let i = 0; i < each_blocks.length; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].c(); each_blocks[i].c();
} }
each_1_anchor = empty(); each_1_anchor = empty();
}, },
m(target, anchor) { m(target, anchor) {
for (let i = 0; i < each_blocks.length; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].m(target, anchor); each_blocks[i].m(target, anchor);
} }
@ -94,15 +98,22 @@ function create_fragment(ctx) {
p(ctx, [dirty]) { p(ctx, [dirty]) {
if (dirty & /*things*/ 1) { if (dirty & /*things*/ 1) {
const each_value = /*things*/ ctx[0]; const each_value = /*things*/ ctx[0];
for (let i = 0; i < each_blocks.length; i += 1) each_blocks[i].r();
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, each_1_anchor.parentNode, fix_and_destroy_block, create_each_block, each_1_anchor, get_each_context); for (let i = 0; i < each_blocks.length; i++) {
for (let i = 0; i < each_blocks.length; i += 1) each_blocks[i].a(); each_blocks[i].r();
}
each_blocks = update_keyed_each(each_blocks, dirty, ctx, 3, get_key, each_value, each_1_lookup, each_1_anchor.parentNode, create_each_block, each_1_anchor, get_each_context);
for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].a();
}
} }
}, },
i: noop, i: noop,
o: noop, o: noop,
d(detaching) { d(detaching) {
for (let i = 0; i < each_blocks.length; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].d(detaching); each_blocks[i].d(detaching);
} }
@ -130,6 +141,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("things" in $$props) $$invalidate(0, things = $$props.things); if ("things" in $$props) $$invalidate(0, things = $$props.things);
0;
}; };
return [things]; return [things];

@ -2,7 +2,6 @@
import { import {
SvelteComponent, SvelteComponent,
append, append,
destroy_block,
detach, detach,
element, element,
empty, empty,
@ -39,7 +38,8 @@ function create_each_block(key_1, ctx) {
insert(target, div, anchor); insert(target, div, anchor);
append(div, t); append(div, t);
}, },
p(ctx, dirty) { p(new_ctx, dirty) {
ctx = new_ctx;
if (dirty & /*things*/ 1 && t_value !== (t_value = /*thing*/ ctx[1].name + "")) set_data(t, t_value); if (dirty & /*things*/ 1 && t_value !== (t_value = /*thing*/ ctx[1].name + "")) set_data(t, t_value);
}, },
d(detaching) { d(detaching) {
@ -55,22 +55,22 @@ function create_fragment(ctx) {
let each_value = /*things*/ ctx[0]; let each_value = /*things*/ ctx[0];
const get_key = ctx => /*thing*/ ctx[1].id; const get_key = ctx => /*thing*/ ctx[1].id;
for (let i = 0; i < each_value.length; i += 1) { for (let i = 0; i < each_value.length; i++) {
let child_ctx = get_each_context(ctx, each_value, i); const child_ctx = get_each_context(ctx, each_value, i);
let key = get_key(child_ctx); const key = get_key(child_ctx);
each_1_lookup.set(key, each_blocks[i] = create_each_block(key, child_ctx)); each_1_lookup.set(key, each_blocks[i] = create_each_block(key, child_ctx));
} }
return { return {
c() { c() {
for (let i = 0; i < each_blocks.length; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].c(); each_blocks[i].c();
} }
each_1_anchor = empty(); each_1_anchor = empty();
}, },
m(target, anchor) { m(target, anchor) {
for (let i = 0; i < each_blocks.length; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].m(target, anchor); each_blocks[i].m(target, anchor);
} }
@ -79,13 +79,13 @@ function create_fragment(ctx) {
p(ctx, [dirty]) { p(ctx, [dirty]) {
if (dirty & /*things*/ 1) { if (dirty & /*things*/ 1) {
const each_value = /*things*/ ctx[0]; const each_value = /*things*/ ctx[0];
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, each_1_anchor.parentNode, destroy_block, create_each_block, each_1_anchor, get_each_context); each_blocks = update_keyed_each(each_blocks, dirty, ctx, 1, get_key, each_value, each_1_lookup, each_1_anchor.parentNode, create_each_block, each_1_anchor, get_each_context);
} }
}, },
i: noop, i: noop,
o: noop, o: noop,
d(detaching) { d(detaching) {
for (let i = 0; i < each_blocks.length; i += 1) { for (let i = 0; i < each_blocks.length; i++) {
each_blocks[i].d(detaching); each_blocks[i].d(detaching);
} }
@ -99,6 +99,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("things" in $$props) $$invalidate(0, things = $$props.things); if ("things" in $$props) $$invalidate(0, things = $$props.things);
0;
}; };
return [things]; return [things];

@ -6,10 +6,8 @@ import {
element, element,
init, init,
insert, insert,
is_function,
listen, listen,
noop, noop,
run_all,
safe_not_equal, safe_not_equal,
set_data, set_data,
space, space,
@ -53,13 +51,16 @@ function create_fragment(ctx) {
append(p1, t4); append(p1, t4);
insert(target, t5, anchor); insert(target, t5, anchor);
insert(target, button2, anchor); insert(target, button2, anchor);
if (remount) run_all(dispose);
if (remount) for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
dispose = [ dispose = [
listen(button0, "click", /*updateHandler1*/ ctx[2]), listen(button0, "click", /*updateHandler1*/ ctx[2]),
listen(button1, "click", /*updateHandler2*/ ctx[3]), listen(button1, "click", /*updateHandler2*/ ctx[3]),
listen(button2, "click", function () { listen(button2, "click", function () {
if (is_function(/*clickHandler*/ ctx[0])) /*clickHandler*/ ctx[0].apply(this, arguments); if ("function" === typeof /*clickHandler*/ ctx[0]) /*clickHandler*/ ctx[0].apply(this, arguments);
}) })
]; ];
}, },
@ -75,7 +76,10 @@ function create_fragment(ctx) {
if (detaching) detach(p1); if (detaching) detach(p1);
if (detaching) detach(t5); if (detaching) detach(t5);
if (detaching) detach(button2); if (detaching) detach(button2);
run_all(dispose);
for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
} }
}; };
} }

@ -9,7 +9,6 @@ import {
listen, listen,
noop, noop,
prevent_default, prevent_default,
run_all,
safe_not_equal, safe_not_equal,
space, space,
stop_propagation stop_propagation
@ -43,7 +42,10 @@ function create_fragment(ctx) {
append(div, button1); append(div, button1);
append(div, t3); append(div, t3);
append(div, button2); append(div, button2);
if (remount) run_all(dispose);
if (remount) for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
dispose = [ dispose = [
listen(button0, "click", stop_propagation(prevent_default(handleClick))), listen(button0, "click", stop_propagation(prevent_default(handleClick))),
@ -57,7 +59,10 @@ function create_fragment(ctx) {
o: noop, o: noop,
d(detaching) { d(detaching) {
if (detaching) detach(div); if (detaching) detach(div);
run_all(dispose);
for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
} }
}; };
} }

@ -90,6 +90,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("foo" in $$props) $$invalidate(0, foo = $$props.foo); if ("foo" in $$props) $$invalidate(0, foo = $$props.foo);
0;
}; };
return [foo]; return [foo];

@ -68,6 +68,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("foo" in $$props) $$invalidate(0, foo = $$props.foo); if ("foo" in $$props) $$invalidate(0, foo = $$props.foo);
0;
}; };
return [foo]; return [foo];

@ -48,6 +48,7 @@ function instance($$self, $$props, $$invalidate) {
if ("color" in $$props) $$invalidate(0, color = $$props.color); if ("color" in $$props) $$invalidate(0, color = $$props.color);
if ("x" in $$props) $$invalidate(1, x = $$props.x); if ("x" in $$props) $$invalidate(1, x = $$props.x);
if ("y" in $$props) $$invalidate(2, y = $$props.y); if ("y" in $$props) $$invalidate(2, y = $$props.y);
0;
}; };
return [color, x, y]; return [color, x, y];

@ -39,6 +39,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("data" in $$props) $$invalidate(0, data = $$props.data); if ("data" in $$props) $$invalidate(0, data = $$props.data);
0;
}; };
return [data]; return [data];

@ -39,6 +39,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("color" in $$props) $$invalidate(0, color = $$props.color); if ("color" in $$props) $$invalidate(0, color = $$props.color);
0;
}; };
return [color]; return [color];

@ -58,6 +58,7 @@ function instance($$self, $$props, $$invalidate) {
if ("style" in $$props) $$invalidate(0, style = $$props.style); if ("style" in $$props) $$invalidate(0, style = $$props.style);
if ("key" in $$props) $$invalidate(1, key = $$props.key); if ("key" in $$props) $$invalidate(1, key = $$props.key);
if ("value" in $$props) $$invalidate(2, value = $$props.value); if ("value" in $$props) $$invalidate(2, value = $$props.value);
0;
}; };
return [style, key, value]; return [style, key, value];

@ -46,6 +46,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("files" in $$props) $$invalidate(0, files = $$props.files); if ("files" in $$props) $$invalidate(0, files = $$props.files);
0;
}; };
return [files, input_change_handler]; return [files, input_change_handler];

@ -9,7 +9,6 @@ import {
insert, insert,
listen, listen,
noop, noop,
run_all,
safe_not_equal, safe_not_equal,
set_input_value, set_input_value,
space space
@ -38,7 +37,10 @@ function create_fragment(ctx) {
set_input_value(input, /*test*/ ctx[0]); set_input_value(input, /*test*/ ctx[0]);
append(form, t0); append(form, t0);
append(form, button); append(form, button);
if (remount) run_all(dispose);
if (remount) for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
dispose = [ dispose = [
listen(input, "input", /*input_input_handler*/ ctx[2]), listen(input, "input", /*input_input_handler*/ ctx[2]),
@ -54,7 +56,10 @@ function create_fragment(ctx) {
o: noop, o: noop,
d(detaching) { d(detaching) {
if (detaching) detach(form); if (detaching) detach(form);
run_all(dispose);
for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
} }
}; };
} }

@ -8,7 +8,6 @@ import {
insert, insert,
listen, listen,
noop, noop,
run_all,
safe_not_equal, safe_not_equal,
set_input_value, set_input_value,
to_number to_number
@ -26,7 +25,10 @@ function create_fragment(ctx) {
m(target, anchor, remount) { m(target, anchor, remount) {
insert(target, input, anchor); insert(target, input, anchor);
set_input_value(input, /*value*/ ctx[0]); set_input_value(input, /*value*/ ctx[0]);
if (remount) run_all(dispose);
if (remount) for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
dispose = [ dispose = [
listen(input, "change", /*input_change_input_handler*/ ctx[1]), listen(input, "change", /*input_change_input_handler*/ ctx[1]),
@ -42,7 +44,10 @@ function create_fragment(ctx) {
o: noop, o: noop,
d(detaching) { d(detaching) {
if (detaching) detach(input); if (detaching) detach(input);
run_all(dispose);
for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
} }
}; };
} }
@ -57,6 +62,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("value" in $$props) $$invalidate(0, value = $$props.value); if ("value" in $$props) $$invalidate(0, value = $$props.value);
0;
}; };
return [value, input_change_input_handler]; return [value, input_change_input_handler];

@ -50,6 +50,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("foo" in $$props) $$invalidate(0, foo = $$props.foo); if ("foo" in $$props) $$invalidate(0, foo = $$props.foo);
0;
}; };
return [foo, input_change_handler]; return [foo, input_change_handler];

@ -1,13 +1,13 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { import {
SvelteComponent, SvelteComponent,
attr,
detach, detach,
element, element,
init, init,
insert, insert,
noop, noop,
safe_not_equal, safe_not_equal
set_input_type
} from "svelte/internal"; } from "svelte/internal";
function create_fragment(ctx) { function create_fragment(ctx) {
@ -16,7 +16,7 @@ function create_fragment(ctx) {
return { return {
c() { c() {
input = element("input"); input = element("input");
set_input_type(input, "search"); attr(input, "type", "search");
}, },
m(target, anchor) { m(target, anchor) {
insert(target, input, anchor); insert(target, input, anchor);

@ -1,7 +1,7 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { import {
SvelteComponentDev, SvelteComponentDev,
add_location, add_location_dev,
binding_callbacks, binding_callbacks,
detach_dev, detach_dev,
dispatch_dev, dispatch_dev,
@ -9,10 +9,10 @@ import {
globals, globals,
init, init,
insert_dev, insert_dev,
loop_guard, loop_guard_dev,
noop, noop,
safe_not_equal, safe_not_equal,
validate_slots validate_slots_dev
} from "svelte/internal"; } from "svelte/internal";
const { console: console_1 } = globals; const { console: console_1 } = globals;
@ -24,7 +24,7 @@ function create_fragment(ctx) {
const block = { const block = {
c: function create() { c: function create() {
div = element("div"); div = element("div");
add_location(div, file, 22, 0, 288); add_location_dev(div, file, 22, 0, 310);
}, },
l: function claim(nodes) { l: function claim(nodes) {
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@ -57,7 +57,7 @@ function foo() {
const guard = "foo"; const guard = "foo";
{ {
const guard_1 = loop_guard(100); const guard_1 = loop_guard_dev(100);
while (true) { while (true) {
console.log(guard); console.log(guard);
@ -70,7 +70,7 @@ function instance($$self, $$props, $$invalidate) {
let node; let node;
{ {
const guard = loop_guard(100); const guard = loop_guard_dev(100);
while (true) { while (true) {
foo(); foo();
@ -79,7 +79,7 @@ function instance($$self, $$props, $$invalidate) {
} }
{ {
const guard_2 = loop_guard(100); const guard_2 = loop_guard_dev(100);
for (; ; ) { for (; ; ) {
foo(); foo();
@ -88,7 +88,7 @@ function instance($$self, $$props, $$invalidate) {
} }
{ {
const guard_3 = loop_guard(100); const guard_3 = loop_guard_dev(100);
while (true) { while (true) {
foo(); foo();
@ -97,7 +97,7 @@ function instance($$self, $$props, $$invalidate) {
} }
{ {
const guard_5 = loop_guard(100); const guard_5 = loop_guard_dev(100);
do { do {
foo(); foo();
@ -112,7 +112,7 @@ function instance($$self, $$props, $$invalidate) {
}); });
let { $$slots = {}, $$scope } = $$props; let { $$slots = {}, $$scope } = $$props;
validate_slots("Component", $$slots, []); validate_slots_dev("Component", $$slots, []);
function div_binding($$value) { function div_binding($$value) {
binding_callbacks[$$value ? "unshift" : "push"](() => { binding_callbacks[$$value ? "unshift" : "push"](() => {
@ -131,7 +131,7 @@ function instance($$self, $$props, $$invalidate) {
} }
$: { $: {
const guard_4 = loop_guard(100); const guard_4 = loop_guard_dev(100);
while (true) { while (true) {
foo(); foo();
@ -140,7 +140,7 @@ function instance($$self, $$props, $$invalidate) {
} }
$: { $: {
const guard_6 = loop_guard(100); const guard_6 = loop_guard_dev(100);
do { do {
foo(); foo();

@ -9,7 +9,6 @@ import {
listen, listen,
noop, noop,
raf, raf,
run_all,
safe_not_equal, safe_not_equal,
time_ranges_to_array time_ranges_to_array
} from "svelte/internal"; } from "svelte/internal";
@ -53,7 +52,9 @@ function create_fragment(ctx) {
audio.playbackRate = /*playbackRate*/ ctx[7]; audio.playbackRate = /*playbackRate*/ ctx[7];
} }
if (remount) run_all(dispose); if (remount) for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
dispose = [ dispose = [
listen(audio, "progress", /*audio_progress_handler*/ ctx[10]), listen(audio, "progress", /*audio_progress_handler*/ ctx[10]),
@ -92,7 +93,10 @@ function create_fragment(ctx) {
o: noop, o: noop,
d(detaching) { d(detaching) {
if (detaching) detach(audio); if (detaching) detach(audio);
run_all(dispose);
for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
} }
}; };
} }
@ -171,6 +175,7 @@ function instance($$self, $$props, $$invalidate) {
if ("playbackRate" in $$props) $$invalidate(7, playbackRate = $$props.playbackRate); if ("playbackRate" in $$props) $$invalidate(7, playbackRate = $$props.playbackRate);
if ("seeking" in $$props) $$invalidate(8, seeking = $$props.seeking); if ("seeking" in $$props) $$invalidate(8, seeking = $$props.seeking);
if ("ended" in $$props) $$invalidate(9, ended = $$props.ended); if ("ended" in $$props) $$invalidate(9, ended = $$props.ended);
0;
}; };
return [ return [

@ -1,7 +1,6 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { import {
SvelteComponent, SvelteComponent,
create_component,
destroy_component, destroy_component,
detach, detach,
init, init,
@ -24,9 +23,9 @@ function create_fragment(ctx) {
return { return {
c() { c() {
create_component(imported.$$.fragment); if (imported.$$.fragment) imported.$$.fragment.c();
t = space(); t = space();
create_component(nonimported.$$.fragment); if (nonimported.$$.fragment) nonimported.$$.fragment.c();
}, },
m(target, anchor) { m(target, anchor) {
mount_component(imported, target, anchor); mount_component(imported, target, anchor);

@ -8,6 +8,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("x" in $$props) $$invalidate(0, x = $$props.x); if ("x" in $$props) $$invalidate(0, x = $$props.x);
0;
}; };
$$self.$$.update = () => { $$self.$$.update = () => {

@ -8,6 +8,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("a" in $$props) $$invalidate(0, a = $$props.a); if ("a" in $$props) $$invalidate(0, a = $$props.a);
if ("b" in $$props) $$invalidate(1, b = $$props.b); if ("b" in $$props) $$invalidate(1, b = $$props.b);
0;
}; };
$$self.$$.update = () => { $$self.$$.update = () => {

@ -68,6 +68,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("current" in $$props) $$invalidate(0, current = $$props.current); if ("current" in $$props) $$invalidate(0, current = $$props.current);
0;
}; };
return [current]; return [current];

@ -70,6 +70,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("url" in $$props) $$invalidate(0, url = $$props.url); if ("url" in $$props) $$invalidate(0, url = $$props.url);
if ("slug" in $$props) $$invalidate(1, slug = $$props.slug); if ("slug" in $$props) $$invalidate(1, slug = $$props.slug);
0;
}; };
return [url, slug]; return [url, slug];

@ -24,6 +24,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("custom" in $$props) $$invalidate(0, custom = $$props.custom); if ("custom" in $$props) $$invalidate(0, custom = $$props.custom);
0;
}; };
return [custom]; return [custom];

@ -1,14 +1,13 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { import {
SvelteComponent, SvelteComponent,
add_render_callback,
create_in_transition,
detach, detach,
element, element,
empty, empty,
init, init,
insert, insert,
noop, noop,
run_transition,
safe_not_equal, safe_not_equal,
transition_in transition_in
} from "svelte/internal"; } from "svelte/internal";
@ -53,7 +52,7 @@ function create_if_block(ctx) {
// (9:1) {#if y} // (9:1) {#if y}
function create_if_block_1(ctx) { function create_if_block_1(ctx) {
let div; let div;
let div_intro; let div_intro = noop;
return { return {
c() { c() {
@ -64,16 +63,11 @@ function create_if_block_1(ctx) {
insert(target, div, anchor); insert(target, div, anchor);
}, },
i(local) { i(local) {
if (local) { if (local) div_intro = run_transition(div, foo, 1);
if (!div_intro) { },
add_render_callback(() => { o(local) {
div_intro = create_in_transition(div, foo, {}); div_intro();
div_intro.start();
});
}
}
}, },
o: noop,
d(detaching) { d(detaching) {
if (detaching) detach(div); if (detaching) detach(div);
} }
@ -127,6 +121,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("x" in $$props) $$invalidate(0, x = $$props.x); if ("x" in $$props) $$invalidate(0, x = $$props.x);
if ("y" in $$props) $$invalidate(1, y = $$props.y); if ("y" in $$props) $$invalidate(1, y = $$props.y);
0;
}; };
return [x, y]; return [x, y];

@ -1,14 +1,14 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { import {
SvelteComponent, SvelteComponent,
check_outros,
create_out_transition,
detach, detach,
element, element,
empty, empty,
group_outros, group_transition_out,
init, init,
insert, insert,
noop,
run_transition,
safe_not_equal, safe_not_equal,
transition_in, transition_in,
transition_out transition_out
@ -18,7 +18,7 @@ import { fade } from "svelte/transition";
function create_if_block(ctx) { function create_if_block(ctx) {
let div; let div;
let div_outro; let div_outro = noop;
let current; let current;
return { return {
@ -32,16 +32,16 @@ function create_if_block(ctx) {
}, },
i(local) { i(local) {
if (current) return; if (current) return;
if (div_outro) div_outro.end(1); div_outro();
current = true; current = true;
}, },
o(local) { o(local) {
div_outro = create_out_transition(div, fade, {}); div_outro = run_transition(div, fade, 2);
current = false; current = false;
}, },
d(detaching) { d(detaching) {
if (detaching) detach(div); if (detaching) detach(div);
if (detaching && div_outro) div_outro.end(); if (detaching) div_outro();
} }
}; };
} }
@ -74,13 +74,11 @@ function create_fragment(ctx) {
if_block.m(if_block_anchor.parentNode, if_block_anchor); if_block.m(if_block_anchor.parentNode, if_block_anchor);
} }
} else if (if_block) { } else if (if_block) {
group_outros(); group_transition_out(transition_out => {
transition_out(if_block, () => {
transition_out(if_block, 1, 1, () => { if_block = null;
if_block = null; });
}); });
check_outros();
} }
}, },
i(local) { i(local) {
@ -104,6 +102,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("num" in $$props) $$invalidate(0, num = $$props.num); if ("num" in $$props) $$invalidate(0, num = $$props.num);
0;
}; };
return [num]; return [num];

@ -249,6 +249,7 @@ function instance($$self, $$props, $$invalidate) {
if ("c" in $$props) $$invalidate(2, c = $$props.c); if ("c" in $$props) $$invalidate(2, c = $$props.c);
if ("d" in $$props) $$invalidate(3, d = $$props.d); if ("d" in $$props) $$invalidate(3, d = $$props.d);
if ("e" in $$props) $$invalidate(4, e = $$props.e); if ("e" in $$props) $$invalidate(4, e = $$props.e);
0;
}; };
return [a, b, c, d, e]; return [a, b, c, d, e];

@ -10,7 +10,6 @@ import {
listen, listen,
noop, noop,
raf, raf,
run_all,
safe_not_equal safe_not_equal
} from "svelte/internal"; } from "svelte/internal";
@ -41,7 +40,10 @@ function create_fragment(ctx) {
m(target, anchor, remount) { m(target, anchor, remount) {
insert(target, video, anchor); insert(target, video, anchor);
video_resize_listener = add_resize_listener(video, /*video_elementresize_handler*/ ctx[6].bind(video)); video_resize_listener = add_resize_listener(video, /*video_elementresize_handler*/ ctx[6].bind(video));
if (remount) run_all(dispose);
if (remount) for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
dispose = [ dispose = [
listen(video, "timeupdate", video_timeupdate_handler), listen(video, "timeupdate", video_timeupdate_handler),
@ -60,7 +62,10 @@ function create_fragment(ctx) {
d(detaching) { d(detaching) {
if (detaching) detach(video); if (detaching) detach(video);
video_resize_listener(); video_resize_listener();
run_all(dispose);
for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
} }
}; };
} }
@ -93,6 +98,7 @@ function instance($$self, $$props, $$invalidate) {
if ("videoHeight" in $$props) $$invalidate(1, videoHeight = $$props.videoHeight); if ("videoHeight" in $$props) $$invalidate(1, videoHeight = $$props.videoHeight);
if ("videoWidth" in $$props) $$invalidate(2, videoWidth = $$props.videoWidth); if ("videoWidth" in $$props) $$invalidate(2, videoWidth = $$props.videoWidth);
if ("offsetWidth" in $$props) $$invalidate(3, offsetWidth = $$props.offsetWidth); if ("offsetWidth" in $$props) $$invalidate(3, offsetWidth = $$props.offsetWidth);
0;
}; };
return [ return [

@ -5,7 +5,6 @@ import {
init, init,
listen, listen,
noop, noop,
run_all,
safe_not_equal safe_not_equal
} from "svelte/internal"; } from "svelte/internal";
@ -16,7 +15,9 @@ function create_fragment(ctx) {
return { return {
c: noop, c: noop,
m(target, anchor, remount) { m(target, anchor, remount) {
if (remount) run_all(dispose); if (remount) for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
dispose = [ dispose = [
listen(window, "online", /*onlinestatuschanged*/ ctx[1]), listen(window, "online", /*onlinestatuschanged*/ ctx[1]),
@ -27,7 +28,9 @@ function create_fragment(ctx) {
i: noop, i: noop,
o: noop, o: noop,
d(detaching) { d(detaching) {
run_all(dispose); for (let i = 0; i < dispose.length; i++) {
dispose[i]();
}
} }
}; };
} }

@ -75,6 +75,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$set = $$props => { $$self.$set = $$props => {
if ("y" in $$props) $$invalidate(0, y = $$props.y); if ("y" in $$props) $$invalidate(0, y = $$props.y);
0;
}; };
return [y, onwindowscroll]; return [y, onwindowscroll];

@ -1,12 +1,12 @@
{ {
"html": { "html": {
"start": 0, "start": 0,
"end": 70, "end": 72,
"type": "Fragment", "type": "Fragment",
"children": [ "children": [
{ {
"start": 0, "start": 0,
"end": 70, "end": 72,
"type": "EachBlock", "type": "EachBlock",
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
@ -26,14 +26,14 @@
}, },
"children": [ "children": [
{ {
"start": 33, "start": 34,
"end": 62, "end": 63,
"type": "Element", "type": "Element",
"name": "div", "name": "div",
"attributes": [ "attributes": [
{ {
"start": 38, "start": 39,
"end": 50, "end": 51,
"type": "Animation", "type": "Animation",
"name": "flip", "name": "flip",
"modifiers": [], "modifiers": [],
@ -42,8 +42,8 @@
], ],
"children": [ "children": [
{ {
"start": 51, "start": 52,
"end": 56, "end": 57,
"type": "Text", "type": "Text",
"raw": "flips", "raw": "flips",
"data": "flips" "data": "flips"

@ -1,10 +1,17 @@
{ {
"name": "ParseError",
"code": "duplicate-attribute", "code": "duplicate-attribute",
"message": "Attributes need to be unique",
"start": { "start": {
"line": 1, "line": 1,
"column": 17, "column": 17,
"character": 17 "character": 17
}, },
"pos": 17 "end": {
} "line": 1,
"column": 17,
"character": 17
},
"pos": 17,
"frame": "1: <Widget foo={42} bind:foo/>\n ^",
"message": "Attributes need to be unique"
}

@ -1,10 +1,17 @@
{ {
"name": "ParseError",
"code": "duplicate-attribute", "code": "duplicate-attribute",
"message": "Attributes need to be unique",
"start": { "start": {
"line": 1, "line": 1,
"column": 17, "column": 17,
"character": 17 "character": 17
}, },
"pos": 17 "end": {
} "line": 1,
"column": 17,
"character": 17
},
"pos": 17,
"frame": "1: <div class='foo' class='bar'></div>\n ^",
"message": "Attributes need to be unique"
}

@ -1,10 +1,17 @@
{ {
"name": "ParseError",
"code": "duplicate-attribute", "code": "duplicate-attribute",
"message": "Attributes need to be unique",
"start": { "start": {
"line": 1, "line": 1,
"column": 17, "column": 17,
"character": 17 "character": 17
}, },
"pos": 17 "end": {
} "line": 1,
"column": 17,
"character": 17
},
"pos": 17,
"frame": "1: <div title='foo' {title}></div>\n ^",
"message": "Attributes need to be unique"
}

@ -1,12 +1,12 @@
{ {
"html": { "html": {
"start": 0, "start": 0,
"end": 99, "end": 103,
"type": "Fragment", "type": "Fragment",
"children": [ "children": [
{ {
"start": 0, "start": 0,
"end": 99, "end": 103,
"type": "AwaitBlock", "type": "AwaitBlock",
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
@ -31,26 +31,26 @@
}, },
"pending": { "pending": {
"start": 19, "start": 19,
"end": 39, "end": 41,
"type": "PendingBlock", "type": "PendingBlock",
"children": [ "children": [
{ {
"start": 19, "start": 19,
"end": 21, "end": 22,
"type": "Text", "type": "Text",
"raw": "\n\t", "raw": "\r\n\t",
"data": "\n\t" "data": "\r\n\t"
}, },
{ {
"start": 21, "start": 22,
"end": 38, "end": 39,
"type": "Element", "type": "Element",
"name": "p", "name": "p",
"attributes": [], "attributes": [],
"children": [ "children": [
{ {
"start": 24, "start": 25,
"end": 34, "end": 35,
"type": "Text", "type": "Text",
"raw": "loading...", "raw": "loading...",
"data": "loading..." "data": "loading..."
@ -58,11 +58,11 @@
] ]
}, },
{ {
"start": 38, "start": 39,
"end": 39, "end": 41,
"type": "Text", "type": "Text",
"raw": "\n", "raw": "\r\n",
"data": "\n" "data": "\r\n"
} }
], ],
"skip": false "skip": false
@ -75,39 +75,39 @@
"skip": true "skip": true
}, },
"catch": { "catch": {
"start": 39, "start": 41,
"end": 91, "end": 95,
"type": "CatchBlock", "type": "CatchBlock",
"children": [ "children": [
{ {
"start": 56, "start": 58,
"end": 58, "end": 61,
"type": "Text", "type": "Text",
"raw": "\n\t", "raw": "\r\n\t",
"data": "\n\t" "data": "\r\n\t"
}, },
{ {
"start": 58, "start": 61,
"end": 90, "end": 93,
"type": "Element", "type": "Element",
"name": "p", "name": "p",
"attributes": [], "attributes": [],
"children": [ "children": [
{ {
"start": 61, "start": 64,
"end": 68, "end": 71,
"type": "Text", "type": "Text",
"raw": "oh no! ", "raw": "oh no! ",
"data": "oh no! " "data": "oh no! "
}, },
{ {
"start": 68, "start": 71,
"end": 86, "end": 89,
"type": "MustacheTag", "type": "MustacheTag",
"expression": { "expression": {
"type": "MemberExpression", "type": "MemberExpression",
"start": 69, "start": 72,
"end": 85, "end": 88,
"loc": { "loc": {
"start": { "start": {
"line": 4, "line": 4,
@ -120,8 +120,8 @@
}, },
"object": { "object": {
"type": "Identifier", "type": "Identifier",
"start": 69, "start": 72,
"end": 77, "end": 80,
"loc": { "loc": {
"start": { "start": {
"line": 4, "line": 4,
@ -136,8 +136,8 @@
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"start": 78, "start": 81,
"end": 85, "end": 88,
"loc": { "loc": {
"start": { "start": {
"line": 4, "line": 4,
@ -156,11 +156,11 @@
] ]
}, },
{ {
"start": 90, "start": 93,
"end": 91, "end": 95,
"type": "Text", "type": "Text",
"raw": "\n", "raw": "\r\n",
"data": "\n" "data": "\r\n"
} }
], ],
"skip": false "skip": false

@ -1,12 +1,12 @@
{ {
"html": { "html": {
"start": 0, "start": 0,
"end": 148, "end": 154,
"type": "Fragment", "type": "Fragment",
"children": [ "children": [
{ {
"start": 0, "start": 0,
"end": 148, "end": 154,
"type": "AwaitBlock", "type": "AwaitBlock",
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
@ -34,26 +34,26 @@
}, },
"pending": { "pending": {
"start": 19, "start": 19,
"end": 39, "end": 41,
"type": "PendingBlock", "type": "PendingBlock",
"children": [ "children": [
{ {
"start": 19, "start": 19,
"end": 21, "end": 22,
"type": "Text", "type": "Text",
"raw": "\n\t", "raw": "\r\n\t",
"data": "\n\t" "data": "\r\n\t"
}, },
{ {
"start": 21, "start": 22,
"end": 38, "end": 39,
"type": "Element", "type": "Element",
"name": "p", "name": "p",
"attributes": [], "attributes": [],
"children": [ "children": [
{ {
"start": 24, "start": 25,
"end": 34, "end": 35,
"type": "Text", "type": "Text",
"raw": "loading...", "raw": "loading...",
"data": "loading..." "data": "loading..."
@ -61,49 +61,49 @@
] ]
}, },
{ {
"start": 38, "start": 39,
"end": 39, "end": 41,
"type": "Text", "type": "Text",
"raw": "\n", "raw": "\r\n",
"data": "\n" "data": "\r\n"
} }
], ],
"skip": false "skip": false
}, },
"then": { "then": {
"start": 39, "start": 41,
"end": 88, "end": 92,
"type": "ThenBlock", "type": "ThenBlock",
"children": [ "children": [
{ {
"start": 55, "start": 57,
"end": 57, "end": 60,
"type": "Text", "type": "Text",
"raw": "\n\t", "raw": "\r\n\t",
"data": "\n\t" "data": "\r\n\t"
}, },
{ {
"start": 57, "start": 60,
"end": 87, "end": 90,
"type": "Element", "type": "Element",
"name": "p", "name": "p",
"attributes": [], "attributes": [],
"children": [ "children": [
{ {
"start": 60, "start": 63,
"end": 73, "end": 76,
"type": "Text", "type": "Text",
"raw": "the value is ", "raw": "the value is ",
"data": "the value is " "data": "the value is "
}, },
{ {
"start": 73, "start": 76,
"end": 83, "end": 86,
"type": "MustacheTag", "type": "MustacheTag",
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"start": 74, "start": 77,
"end": 82, "end": 85,
"loc": { "loc": {
"start": { "start": {
"line": 4, "line": 4,
@ -120,49 +120,49 @@
] ]
}, },
{ {
"start": 87, "start": 90,
"end": 88, "end": 92,
"type": "Text", "type": "Text",
"raw": "\n", "raw": "\r\n",
"data": "\n" "data": "\r\n"
} }
], ],
"skip": false "skip": false
}, },
"catch": { "catch": {
"start": 88, "start": 92,
"end": 140, "end": 146,
"type": "CatchBlock", "type": "CatchBlock",
"children": [ "children": [
{ {
"start": 105, "start": 109,
"end": 107, "end": 112,
"type": "Text", "type": "Text",
"raw": "\n\t", "raw": "\r\n\t",
"data": "\n\t" "data": "\r\n\t"
}, },
{ {
"start": 107, "start": 112,
"end": 139, "end": 144,
"type": "Element", "type": "Element",
"name": "p", "name": "p",
"attributes": [], "attributes": [],
"children": [ "children": [
{ {
"start": 110, "start": 115,
"end": 117, "end": 122,
"type": "Text", "type": "Text",
"raw": "oh no! ", "raw": "oh no! ",
"data": "oh no! " "data": "oh no! "
}, },
{ {
"start": 117, "start": 122,
"end": 135, "end": 140,
"type": "MustacheTag", "type": "MustacheTag",
"expression": { "expression": {
"type": "MemberExpression", "type": "MemberExpression",
"start": 118, "start": 123,
"end": 134, "end": 139,
"loc": { "loc": {
"start": { "start": {
"line": 6, "line": 6,
@ -175,8 +175,8 @@
}, },
"object": { "object": {
"type": "Identifier", "type": "Identifier",
"start": 118, "start": 123,
"end": 126, "end": 131,
"loc": { "loc": {
"start": { "start": {
"line": 6, "line": 6,
@ -191,8 +191,8 @@
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"start": 127, "start": 132,
"end": 134, "end": 139,
"loc": { "loc": {
"start": { "start": {
"line": 6, "line": 6,
@ -211,11 +211,11 @@
] ]
}, },
{ {
"start": 139, "start": 144,
"end": 140, "end": 146,
"type": "Text", "type": "Text",
"raw": "\n", "raw": "\r\n",
"data": "\n" "data": "\r\n"
} }
], ],
"skip": false "skip": false

@ -1,31 +1,31 @@
{ {
"html": { "html": {
"start": 30, "start": 34,
"end": 48, "end": 52,
"type": "Fragment", "type": "Fragment",
"children": [ "children": [
{ {
"start": 28, "start": 30,
"end": 30, "end": 34,
"type": "Text", "type": "Text",
"raw": "\n\n", "raw": "\r\n\r\n",
"data": "\n\n" "data": "\r\n\r\n"
}, },
{ {
"start": 30, "start": 34,
"end": 48, "end": 52,
"type": "InlineComponent", "type": "InlineComponent",
"name": "Widget", "name": "Widget",
"attributes": [ "attributes": [
{ {
"start": 38, "start": 42,
"end": 46, "end": 50,
"type": "Binding", "type": "Binding",
"name": "foo", "name": "foo",
"modifiers": [], "modifiers": [],
"expression": { "expression": {
"start": 43, "start": 47,
"end": 46, "end": 50,
"type": "Identifier", "type": "Identifier",
"name": "foo" "name": "foo"
} }
@ -38,12 +38,12 @@
"instance": { "instance": {
"type": "Script", "type": "Script",
"start": 0, "start": 0,
"end": 28, "end": 30,
"context": "default", "context": "default",
"content": { "content": {
"type": "Program", "type": "Program",
"start": 8, "start": 8,
"end": 19, "end": 21,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -57,8 +57,8 @@
"body": [ "body": [
{ {
"type": "VariableDeclaration", "type": "VariableDeclaration",
"start": 10, "start": 11,
"end": 18, "end": 19,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,
@ -72,8 +72,8 @@
"declarations": [ "declarations": [
{ {
"type": "VariableDeclarator", "type": "VariableDeclarator",
"start": 14, "start": 15,
"end": 17, "end": 18,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,
@ -86,8 +86,8 @@
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"start": 14, "start": 15,
"end": 17, "end": 18,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,

@ -1,32 +1,32 @@
{ {
"html": { "html": {
"start": 31, "start": 35,
"end": 56, "end": 60,
"type": "Fragment", "type": "Fragment",
"children": [ "children": [
{ {
"start": 29, "start": 31,
"end": 31, "end": 35,
"type": "Text", "type": "Text",
"raw": "\n\n", "raw": "\r\n\r\n",
"data": "\n\n" "data": "\r\n\r\n"
}, },
{ {
"start": 31, "start": 35,
"end": 56, "end": 60,
"type": "Element", "type": "Element",
"name": "input", "name": "input",
"attributes": [ "attributes": [
{ {
"start": 38, "start": 42,
"end": 55, "end": 59,
"type": "Binding", "type": "Binding",
"name": "value", "name": "value",
"modifiers": [], "modifiers": [],
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"start": 50, "start": 54,
"end": 54, "end": 58,
"loc": { "loc": {
"start": { "start": {
"line": 5, "line": 5,
@ -48,12 +48,12 @@
"instance": { "instance": {
"type": "Script", "type": "Script",
"start": 0, "start": 0,
"end": 29, "end": 31,
"context": "default", "context": "default",
"content": { "content": {
"type": "Program", "type": "Program",
"start": 8, "start": 8,
"end": 20, "end": 22,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -67,8 +67,8 @@
"body": [ "body": [
{ {
"type": "VariableDeclaration", "type": "VariableDeclaration",
"start": 10, "start": 11,
"end": 19, "end": 20,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,
@ -82,8 +82,8 @@
"declarations": [ "declarations": [
{ {
"type": "VariableDeclarator", "type": "VariableDeclarator",
"start": 14, "start": 15,
"end": 18, "end": 19,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,
@ -96,8 +96,8 @@
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"start": 14, "start": 15,
"end": 18, "end": 19,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,

@ -22,17 +22,17 @@
}, },
{ {
"start": 14, "start": 14,
"end": 16, "end": 18,
"type": "Text", "type": "Text",
"raw": "\n\n", "raw": "\r\n\r\n",
"data": "\n\n" "data": "\r\n\r\n"
} }
] ]
}, },
"css": { "css": {
"type": "Style", "type": "Style",
"start": 16, "start": 18,
"end": 56, "end": 62,
"attributes": [], "attributes": [],
"children": [ "children": [
{ {
@ -46,16 +46,16 @@
{ {
"type": "TypeSelector", "type": "TypeSelector",
"name": "div", "name": "div",
"start": 25, "start": 28,
"end": 28 "end": 31
} }
], ],
"start": 25, "start": 28,
"end": 28 "end": 31
} }
], ],
"start": 25, "start": 28,
"end": 28 "end": 31
}, },
"block": { "block": {
"type": "Block", "type": "Block",
@ -70,28 +70,28 @@
{ {
"type": "Identifier", "type": "Identifier",
"name": "red", "name": "red",
"start": 40, "start": 44,
"end": 43 "end": 47
} }
], ],
"start": 39, "start": 43,
"end": 43 "end": 47
}, },
"start": 33, "start": 37,
"end": 43 "end": 47
} }
], ],
"start": 29, "start": 32,
"end": 47 "end": 52
}, },
"start": 25, "start": 28,
"end": 47 "end": 52
} }
], ],
"content": { "content": {
"start": 23, "start": 25,
"end": 48, "end": 54,
"styles": "\n\tdiv {\n\t\tcolor: red;\n\t}\n" "styles": "\r\n\tdiv {\r\n\t\tcolor: red;\r\n\t}\r\n"
} }
} }
} }

@ -8,12 +8,12 @@
"instance": { "instance": {
"type": "Script", "type": "Script",
"start": 0, "start": 0,
"end": 146, "end": 154,
"context": "default", "context": "default",
"content": { "content": {
"type": "Program", "type": "Program",
"start": 8, "start": 8,
"end": 137, "end": 145,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -27,8 +27,8 @@
"body": [ "body": [
{ {
"type": "ImportDeclaration", "type": "ImportDeclaration",
"start": 10, "start": 11,
"end": 43, "end": 44,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,
@ -42,8 +42,8 @@
"specifiers": [ "specifiers": [
{ {
"type": "ImportSpecifier", "type": "ImportSpecifier",
"start": 19, "start": 20,
"end": 26, "end": 27,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,
@ -56,8 +56,8 @@
}, },
"imported": { "imported": {
"type": "Identifier", "type": "Identifier",
"start": 19, "start": 20,
"end": 26, "end": 27,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,
@ -72,8 +72,8 @@
}, },
"local": { "local": {
"type": "Identifier", "type": "Identifier",
"start": 19, "start": 20,
"end": 26, "end": 27,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,
@ -90,8 +90,8 @@
], ],
"source": { "source": {
"type": "Literal", "type": "Literal",
"start": 34, "start": 35,
"end": 42, "end": 43,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,
@ -108,8 +108,8 @@
}, },
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"start": 46, "start": 49,
"end": 136, "end": 143,
"loc": { "loc": {
"start": { "start": {
"line": 4, "line": 4,
@ -122,8 +122,8 @@
}, },
"expression": { "expression": {
"type": "CallExpression", "type": "CallExpression",
"start": 46, "start": 49,
"end": 135, "end": 142,
"loc": { "loc": {
"start": { "start": {
"line": 4, "line": 4,
@ -136,8 +136,8 @@
}, },
"callee": { "callee": {
"type": "Identifier", "type": "Identifier",
"start": 46, "start": 49,
"end": 53, "end": 56,
"loc": { "loc": {
"start": { "start": {
"line": 4, "line": 4,
@ -153,8 +153,8 @@
"arguments": [ "arguments": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
"start": 54, "start": 57,
"end": 134, "end": 141,
"loc": { "loc": {
"start": { "start": {
"line": 4, "line": 4,
@ -172,8 +172,8 @@
"params": [], "params": [],
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"start": 60, "start": 63,
"end": 134, "end": 141,
"loc": { "loc": {
"start": { "start": {
"line": 4, "line": 4,
@ -187,8 +187,8 @@
"body": [ "body": [
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"start": 64, "start": 68,
"end": 131, "end": 137,
"loc": { "loc": {
"start": { "start": {
"line": 5, "line": 5,
@ -201,8 +201,8 @@
}, },
"expression": { "expression": {
"type": "CallExpression", "type": "CallExpression",
"start": 64, "start": 68,
"end": 130, "end": 136,
"loc": { "loc": {
"start": { "start": {
"line": 5, "line": 5,
@ -215,8 +215,8 @@
}, },
"callee": { "callee": {
"type": "MemberExpression", "type": "MemberExpression",
"start": 64, "start": 68,
"end": 87, "end": 91,
"loc": { "loc": {
"start": { "start": {
"line": 5, "line": 5,
@ -229,8 +229,8 @@
}, },
"object": { "object": {
"type": "ImportExpression", "type": "ImportExpression",
"start": 64, "start": 68,
"end": 82, "end": 86,
"loc": { "loc": {
"start": { "start": {
"line": 5, "line": 5,
@ -243,8 +243,8 @@
}, },
"source": { "source": {
"type": "Literal", "type": "Literal",
"start": 71, "start": 75,
"end": 81, "end": 85,
"loc": { "loc": {
"start": { "start": {
"line": 5, "line": 5,
@ -261,8 +261,8 @@
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"start": 83, "start": 87,
"end": 87, "end": 91,
"loc": { "loc": {
"start": { "start": {
"line": 5, "line": 5,
@ -280,8 +280,8 @@
"arguments": [ "arguments": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
"start": 88, "start": 92,
"end": 129, "end": 135,
"loc": { "loc": {
"start": { "start": {
"line": 5, "line": 5,
@ -299,8 +299,8 @@
"params": [ "params": [
{ {
"type": "Identifier", "type": "Identifier",
"start": 88, "start": 92,
"end": 91, "end": 95,
"loc": { "loc": {
"start": { "start": {
"line": 5, "line": 5,
@ -316,8 +316,8 @@
], ],
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"start": 95, "start": 99,
"end": 129, "end": 135,
"loc": { "loc": {
"start": { "start": {
"line": 5, "line": 5,
@ -331,8 +331,8 @@
"body": [ "body": [
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"start": 100, "start": 105,
"end": 125, "end": 130,
"loc": { "loc": {
"start": { "start": {
"line": 6, "line": 6,
@ -345,8 +345,8 @@
}, },
"expression": { "expression": {
"type": "CallExpression", "type": "CallExpression",
"start": 100, "start": 105,
"end": 124, "end": 129,
"loc": { "loc": {
"start": { "start": {
"line": 6, "line": 6,
@ -359,8 +359,8 @@
}, },
"callee": { "callee": {
"type": "MemberExpression", "type": "MemberExpression",
"start": 100, "start": 105,
"end": 111, "end": 116,
"loc": { "loc": {
"start": { "start": {
"line": 6, "line": 6,
@ -373,8 +373,8 @@
}, },
"object": { "object": {
"type": "Identifier", "type": "Identifier",
"start": 100, "start": 105,
"end": 107, "end": 112,
"loc": { "loc": {
"start": { "start": {
"line": 6, "line": 6,
@ -389,8 +389,8 @@
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"start": 108, "start": 113,
"end": 111, "end": 116,
"loc": { "loc": {
"start": { "start": {
"line": 6, "line": 6,
@ -408,8 +408,8 @@
"arguments": [ "arguments": [
{ {
"type": "MemberExpression", "type": "MemberExpression",
"start": 112, "start": 117,
"end": 123, "end": 128,
"loc": { "loc": {
"start": { "start": {
"line": 6, "line": 6,
@ -422,8 +422,8 @@
}, },
"object": { "object": {
"type": "Identifier", "type": "Identifier",
"start": 112, "start": 117,
"end": 115, "end": 120,
"loc": { "loc": {
"start": { "start": {
"line": 6, "line": 6,
@ -438,8 +438,8 @@
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"start": 116, "start": 121,
"end": 123, "end": 128,
"loc": { "loc": {
"start": { "start": {
"line": 6, "line": 6,

@ -1,12 +1,12 @@
{ {
"html": { "html": {
"start": 0, "start": 0,
"end": 71, "end": 73,
"type": "Fragment", "type": "Fragment",
"children": [ "children": [
{ {
"start": 0, "start": 0,
"end": 71, "end": 73,
"type": "EachBlock", "type": "EachBlock",
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
@ -26,20 +26,20 @@
}, },
"children": [ "children": [
{ {
"start": 42, "start": 43,
"end": 63, "end": 64,
"type": "Element", "type": "Element",
"name": "p", "name": "p",
"attributes": [], "attributes": [],
"children": [ "children": [
{ {
"start": 45, "start": 46,
"end": 50, "end": 51,
"type": "MustacheTag", "type": "MustacheTag",
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"start": 46, "start": 47,
"end": 49, "end": 50,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,
@ -54,20 +54,20 @@
} }
}, },
{ {
"start": 50, "start": 51,
"end": 52, "end": 53,
"type": "Text", "type": "Text",
"raw": ": ", "raw": ": ",
"data": ": " "data": ": "
}, },
{ {
"start": 52, "start": 53,
"end": 59, "end": 60,
"type": "MustacheTag", "type": "MustacheTag",
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"start": 53, "start": 54,
"end": 58, "end": 59,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,

@ -1,12 +1,12 @@
{ {
"html": { "html": {
"start": 0, "start": 0,
"end": 77, "end": 81,
"type": "Fragment", "type": "Fragment",
"children": [ "children": [
{ {
"start": 0, "start": 0,
"end": 77, "end": 81,
"type": "EachBlock", "type": "EachBlock",
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
@ -26,20 +26,20 @@
}, },
"children": [ "children": [
{ {
"start": 27, "start": 28,
"end": 42, "end": 43,
"type": "Element", "type": "Element",
"name": "p", "name": "p",
"attributes": [], "attributes": [],
"children": [ "children": [
{ {
"start": 30, "start": 31,
"end": 38, "end": 39,
"type": "MustacheTag", "type": "MustacheTag",
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"start": 31, "start": 32,
"end": 37, "end": 38,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,
@ -63,20 +63,20 @@
"name": "animal" "name": "animal"
}, },
"else": { "else": {
"start": 50, "start": 52,
"end": 70, "end": 74,
"type": "ElseBlock", "type": "ElseBlock",
"children": [ "children": [
{ {
"start": 52, "start": 55,
"end": 69, "end": 72,
"type": "Element", "type": "Element",
"name": "p", "name": "p",
"attributes": [], "attributes": [],
"children": [ "children": [
{ {
"start": 55, "start": 58,
"end": 65, "end": 68,
"type": "Text", "type": "Text",
"raw": "no animals", "raw": "no animals",
"data": "no animals" "data": "no animals"

@ -1,12 +1,12 @@
{ {
"html": { "html": {
"start": 0, "start": 0,
"end": 58, "end": 60,
"type": "Fragment", "type": "Fragment",
"children": [ "children": [
{ {
"start": 0, "start": 0,
"end": 58, "end": 60,
"type": "EachBlock", "type": "EachBlock",
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
@ -26,20 +26,20 @@
}, },
"children": [ "children": [
{ {
"start": 30, "start": 31,
"end": 50, "end": 51,
"type": "Element", "type": "Element",
"name": "p", "name": "p",
"attributes": [], "attributes": [],
"children": [ "children": [
{ {
"start": 33, "start": 34,
"end": 36, "end": 37,
"type": "MustacheTag", "type": "MustacheTag",
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"start": 34, "start": 35,
"end": 35, "end": 36,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,
@ -54,20 +54,20 @@
} }
}, },
{ {
"start": 36, "start": 37,
"end": 38, "end": 39,
"type": "Text", "type": "Text",
"raw": ": ", "raw": ": ",
"data": ": " "data": ": "
}, },
{ {
"start": 38, "start": 39,
"end": 46, "end": 47,
"type": "MustacheTag", "type": "MustacheTag",
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"start": 39, "start": 40,
"end": 45, "end": 46,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,

@ -1,12 +1,12 @@
{ {
"html": { "html": {
"start": 0, "start": 0,
"end": 54, "end": 56,
"type": "Fragment", "type": "Fragment",
"children": [ "children": [
{ {
"start": 0, "start": 0,
"end": 54, "end": 56,
"type": "EachBlock", "type": "EachBlock",
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
@ -26,20 +26,20 @@
}, },
"children": [ "children": [
{ {
"start": 33, "start": 34,
"end": 46, "end": 47,
"type": "Element", "type": "Element",
"name": "p", "name": "p",
"attributes": [], "attributes": [],
"children": [ "children": [
{ {
"start": 36, "start": 37,
"end": 42, "end": 43,
"type": "MustacheTag", "type": "MustacheTag",
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"start": 37, "start": 38,
"end": 41, "end": 42,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,

@ -1,12 +1,12 @@
{ {
"html": { "html": {
"start": 0, "start": 0,
"end": 50, "end": 52,
"type": "Fragment", "type": "Fragment",
"children": [ "children": [
{ {
"start": 0, "start": 0,
"end": 50, "end": 52,
"type": "EachBlock", "type": "EachBlock",
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
@ -26,20 +26,20 @@
}, },
"children": [ "children": [
{ {
"start": 27, "start": 28,
"end": 42, "end": 43,
"type": "Element", "type": "Element",
"name": "p", "name": "p",
"attributes": [], "attributes": [],
"children": [ "children": [
{ {
"start": 30, "start": 31,
"end": 38, "end": 39,
"type": "MustacheTag", "type": "MustacheTag",
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"start": 31, "start": 32,
"end": 37, "end": 38,
"loc": { "loc": {
"start": { "start": {
"line": 2, "line": 2,

@ -1,6 +1,17 @@
{ {
"name": "ParseError",
"code": "invalid-catch-placement", "code": "invalid-catch-placement",
"message": "Expected to close {#each} block before seeing {:catch} block", "start": {
"start": { "line": 3, "column": 7, "character": 41 }, "line": 3,
"pos": 41 "column": 7,
} "character": 43
},
"end": {
"line": 3,
"column": 7,
"character": 43
},
"pos": 43,
"frame": "1: {#await true}\r\n2: {#each foo as bar}\r\n3: {:catch f}\r\n ^\n4: {/await}",
"message": "Expected to close {#each} block before seeing {:catch} block"
}

@ -1,10 +1,17 @@
{ {
"name": "ParseError",
"code": "invalid-catch-placement", "code": "invalid-catch-placement",
"message": "Cannot have an {:catch} block outside an {#await ...} block",
"start": { "start": {
"line": 1, "line": 1,
"column": 7, "column": 7,
"character": 7 "character": 7
}, },
"pos": 7 "end": {
} "line": 1,
"column": 7,
"character": 7
},
"pos": 7,
"frame": "1: {:catch theValue}\n ^",
"message": "Cannot have an {:catch} block outside an {#await ...} block"
}

@ -1,10 +1,17 @@
{ {
"name": "ParseError",
"code": "unexpected-eof", "code": "unexpected-eof",
"message": "comment was left open, expected -->",
"start": { "start": {
"line": 1, "line": 1,
"column": 24, "column": 24,
"character": 24 "character": 24
}, },
"pos": 24 "end": {
} "line": 1,
"column": 24,
"character": 24
},
"pos": 24,
"frame": "1: <!-- an unclosed comment\n ^",
"message": "comment was left open, expected -->"
}

@ -1,10 +1,17 @@
{ {
"name": "ParseError",
"code": "css-syntax-error", "code": "css-syntax-error",
"message": "LeftCurlyBracket is expected",
"start": { "start": {
"line": 2, "line": 2,
"column": 16, "column": 16,
"character": 24 "character": 25
}, },
"pos": 24 "end": {
} "line": 2,
"column": 16,
"character": 25
},
"pos": 25,
"frame": "1: <style>\r\n2: this is not css\r\n ^\n3: </style>",
"message": "LeftCurlyBracket is expected"
}

@ -1,6 +1,17 @@
{ {
"name": "ParseError",
"code": "invalid-else-placement", "code": "invalid-else-placement",
"message": "Expected to close {#await} block before seeing {:else} block", "start": {
"start": { "line": 3, "column": 6, "character": 29 }, "line": 3,
"pos": 29 "column": 6,
} "character": 31
},
"end": {
"line": 3,
"column": 6,
"character": 31
},
"pos": 31,
"frame": "1: {#if true}\r\n2: {#await p}\r\n3: {:else}\r\n ^\n4: {/if}",
"message": "Expected to close {#await} block before seeing {:else} block"
}

@ -1,6 +1,17 @@
{ {
"name": "ParseError",
"code": "invalid-else-placement", "code": "invalid-else-placement",
"message": "Cannot have an {:else} block outside an {#if ...} or {#each ...} block", "start": {
"start": { "line": 2, "column": 6, "character": 11 }, "line": 2,
"pos": 11 "column": 6,
} "character": 12
},
"end": {
"line": 2,
"column": 6,
"character": 12
},
"pos": 12,
"frame": "1: <li>\r\n2: {:else}\n ^",
"message": "Cannot have an {:else} block outside an {#if ...} or {#each ...} block"
}

@ -1,6 +1,17 @@
{ {
"name": "ParseError",
"code": "invalid-else-placement", "code": "invalid-else-placement",
"message": "Expected to close <li> tag before seeing {:else} block", "start": {
"start": { "line": 3, "column": 6, "character": 23 }, "line": 3,
"pos": 23 "column": 6,
} "character": 25
},
"end": {
"line": 3,
"column": 6,
"character": 25
},
"pos": 25,
"frame": "1: {#if true}\r\n2: <li>\r\n3: {:else}\r\n ^\n4: {/if}",
"message": "Expected to close <li> tag before seeing {:else} block"
}

@ -1,6 +1,17 @@
{ {
"name": "ParseError",
"code": "invalid-elseif-placement", "code": "invalid-elseif-placement",
"message": "Expected to close <p> tag before seeing {:else if ...} block", "start": {
"start": { "line": 3, "column": 9, "character": 25 }, "line": 3,
"pos": 25 "column": 9,
} "character": 27
},
"end": {
"line": 3,
"column": 9,
"character": 27
},
"pos": 27,
"frame": "1: {#if true}\r\n2: <p>\r\n3: {:else if false}\r\n ^\n4: {/if}",
"message": "Expected to close <p> tag before seeing {:else if ...} block"
}

@ -1,6 +1,17 @@
{ {
"name": "ParseError",
"code": "invalid-elseif-placement", "code": "invalid-elseif-placement",
"message": "Expected to close {#await} block before seeing {:else if ...} block", "start": {
"start": { "line": 3, "column": 9, "character": 34 }, "line": 3,
"pos": 34 "column": 9,
} "character": 36
},
"end": {
"line": 3,
"column": 9,
"character": 36
},
"pos": 36,
"frame": "1: {#if true}\r\n2: {#await foo}\r\n3: {:else if false}\r\n ^\n4: {/if}",
"message": "Expected to close {#await} block before seeing {:else if ...} block"
}

@ -1,6 +1,17 @@
{ {
"name": "ParseError",
"code": "invalid-elseif-placement", "code": "invalid-elseif-placement",
"message": "Cannot have an {:else if ...} block outside an {#if ...} block", "start": {
"start": { "line": 3, "column": 10, "character": 35 }, "line": 3,
"pos": 35 "column": 10,
} "character": 37
},
"end": {
"line": 3,
"column": 10,
"character": 37
},
"pos": 37,
"frame": "1: {#await foo}\r\n2: {:then bar}\r\n3: {:else if}\r\n ^\n4: {/await}",
"message": "Cannot have an {:else if ...} block outside an {#if ...} block"
}

@ -1,10 +1,17 @@
{ {
"name": "ParseError",
"code": "parse-error", "code": "parse-error",
"message": "Assigning to rvalue",
"start": { "start": {
"line": 1, "line": 1,
"column": 1, "column": 1,
"character": 1 "character": 1
}, },
"pos": 1 "end": {
} "line": 1,
"column": 1,
"character": 1
},
"pos": 1,
"frame": "1: {42 = nope}\n ^",
"message": "Assigning to rvalue"
}

@ -1,10 +1,17 @@
{ {
"name": "ParseError",
"code": "duplicate-style", "code": "duplicate-style",
"message": "You can only have one top-level <style> tag per component",
"start": { "start": {
"line": 9, "line": 9,
"column": 0, "column": 0,
"character": 58 "character": 66
}, },
"pos": 58 "end": {
} "line": 9,
"column": 0,
"character": 66
},
"pos": 66,
"frame": " 7: </style>\r\n 8: \r\n 9: <style>\r\n ^\n10: div {\r\n11: color: blue;\r",
"message": "You can only have one top-level <style> tag per component"
}

@ -1,10 +1,17 @@
{ {
"name": "ParseError",
"code": "unclosed-script", "code": "unclosed-script",
"message": "<script> must have a closing tag",
"start": { "start": {
"line": 3, "line": 3,
"column": 8, "column": 8,
"character": 32 "character": 34
}, },
"pos": 32 "end": {
"line": 3,
"column": 8,
"character": 34
},
"pos": 34,
"frame": "1: <h1>Hello {name}!</h1>\r\n2: \r\n3: <script>\n ^",
"message": "<script> must have a closing tag"
} }

@ -1,10 +1,17 @@
{ {
"name": "ParseError",
"code": "invalid-self-placement", "code": "invalid-self-placement",
"message": "<svelte:self> components can only exist inside {#if} blocks, {#each} blocks, or slots passed to components",
"start": { "start": {
"line": 1, "line": 1,
"column": 1, "column": 1,
"character": 1 "character": 1
}, },
"pos": 1 "end": {
"line": 1,
"column": 1,
"character": 1
},
"pos": 1,
"frame": "1: <svelte:self/>\n ^",
"message": "<svelte:self> components can only exist inside {#if} blocks, {#each} blocks, or slots passed to components"
} }

@ -1,10 +1,17 @@
{ {
"name": "ParseError",
"code": "invalid-tag-name", "code": "invalid-tag-name",
"message": "Valid <svelte:...> tag names are svelte:head, svelte:options, svelte:window, svelte:body, svelte:self or svelte:component",
"pos": 10,
"start": { "start": {
"character": 10,
"line": 2, "line": 2,
"column": 2 "column": 2,
} "character": 11
} },
"end": {
"line": 2,
"column": 2,
"character": 11
},
"pos": 11,
"frame": "1: {#if x}\r\n2: <svelte:selfdestructive x=\"{x - 1}\"/>\r\n ^\n3: {/if}",
"message": "Valid <svelte:...> tag names are svelte:head, svelte:options, svelte:window, svelte:body, svelte:selfor svelte:component"
}

@ -1,6 +1,17 @@
{ {
"name": "ParseError",
"code": "invalid-then-placement", "code": "invalid-then-placement",
"message": "Expected to close <li> tag before seeing {:then} block", "start": {
"start": { "line": 3, "column": 6, "character": 26 }, "line": 3,
"pos": 26 "column": 6,
} "character": 28
},
"end": {
"line": 3,
"column": 6,
"character": 28
},
"pos": 28,
"frame": "1: {#await true}\r\n2: <li>\r\n3: {:then f}\r\n ^\n4: {/await}",
"message": "Expected to close <li> tag before seeing {:then} block"
}

@ -1,10 +1,17 @@
{ {
"name": "ParseError",
"code": "invalid-then-placement", "code": "invalid-then-placement",
"message": "Cannot have an {:then} block outside an {#await ...} block",
"start": { "start": {
"line": 1, "line": 1,
"column": 6, "column": 6,
"character": 6 "character": 6
}, },
"pos": 6 "end": {
} "line": 1,
"column": 6,
"character": 6
},
"pos": 6,
"frame": "1: {:then theValue}\n ^",
"message": "Cannot have an {:then} block outside an {#await ...} block"
}

@ -1,10 +1,17 @@
{ {
"name": "ParseError",
"code": "unexpected-eof", "code": "unexpected-eof",
"message": "Unexpected end of input",
"start": { "start": {
"line": 1, "line": 1,
"column": 2, "column": 2,
"character": 2 "character": 2
}, },
"pos": 2 "end": {
} "line": 1,
"column": 2,
"character": 2
},
"pos": 2,
"frame": "1: <d\n ^",
"message": "Unexpected end of input"
}

@ -1,10 +1,17 @@
{ {
"name": "ParseError",
"code": "unexpected-eof", "code": "unexpected-eof",
"message": "Unexpected end of input",
"start": { "start": {
"line": 1, "line": 1,
"column": 1, "column": 1,
"character": 1 "character": 1
}, },
"pos": 1 "end": {
} "line": 1,
"column": 1,
"character": 1
},
"pos": 1,
"frame": "1: <\n ^",
"message": "Unexpected end of input"
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save