mirror of https://github.com/sveltejs/svelte
58 lines
884 B
58 lines
884 B
/* generated by Svelte vX.Y.Z */
|
|
import {
|
|
SvelteComponent,
|
|
init,
|
|
mount_component,
|
|
noop,
|
|
safe_not_equal
|
|
} from "svelte/internal";
|
|
|
|
function create_fragment(ctx) {
|
|
var current;
|
|
|
|
var nested = new ctx.Nested({ props: { foo: [1, 2, 3] } });
|
|
|
|
return {
|
|
c() {
|
|
nested.$$.fragment.c();
|
|
},
|
|
|
|
m(target, anchor) {
|
|
mount_component(nested, target, anchor);
|
|
current = true;
|
|
},
|
|
|
|
p: noop,
|
|
|
|
i(local) {
|
|
if (current) return;
|
|
nested.$$.fragment.i(local);
|
|
|
|
current = true;
|
|
},
|
|
|
|
o(local) {
|
|
nested.$$.fragment.o(local);
|
|
current = false;
|
|
},
|
|
|
|
d(detaching) {
|
|
nested.$destroy(detaching);
|
|
}
|
|
};
|
|
}
|
|
|
|
function instance($$self) {
|
|
const Nested = window.Nested;
|
|
|
|
return { Nested };
|
|
}
|
|
|
|
class Component extends SvelteComponent {
|
|
constructor(options) {
|
|
super();
|
|
init(this, options, instance, create_fragment, safe_not_equal, []);
|
|
}
|
|
}
|
|
|
|
export default Component; |