mirror of https://github.com/sveltejs/svelte
43 lines
830 B
43 lines
830 B
/* generated by Svelte vX.Y.Z */
|
|
import { SvelteComponent as SvelteComponent_1, append, createElement, createText, detachNode, init, insert, noop, safe_not_equal } from "svelte/internal";
|
|
|
|
function create_fragment($$, ctx) {
|
|
var h1, text0, text1, text2;
|
|
|
|
return {
|
|
c() {
|
|
h1 = createElement("h1");
|
|
text0 = createText("Hello ");
|
|
text1 = createText(name);
|
|
text2 = createText("!");
|
|
},
|
|
|
|
m(target, anchor) {
|
|
insert(target, h1, anchor);
|
|
append(h1, text0);
|
|
append(h1, text1);
|
|
append(h1, text2);
|
|
},
|
|
|
|
p: noop,
|
|
i: noop,
|
|
o: noop,
|
|
|
|
d(detach) {
|
|
if (detach) {
|
|
detachNode(h1);
|
|
}
|
|
}
|
|
};
|
|
}
|
|
|
|
let name = 'world';
|
|
|
|
class SvelteComponent extends SvelteComponent_1 {
|
|
constructor(options) {
|
|
super();
|
|
init(this, options, null, create_fragment, safe_not_equal);
|
|
}
|
|
}
|
|
|
|
export default SvelteComponent; |