You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/js/samples/svg-title/expected.js

46 lines
706 B

5 years ago
/* generated by Svelte vX.Y.Z */
6 years ago
import {
SvelteComponent,
6 years ago
append,
detach,
init,
insert,
noop,
safe_not_equal,
svg_element,
text
} from "svelte/internal";
function create_fragment(ctx) {
let svg;
let title;
let t;
return {
7 years ago
c() {
6 years ago
svg = svg_element("svg");
title = svg_element("title");
t = text("a title");
},
7 years ago
m(target, anchor) {
insert(target, svg, anchor);
append(svg, title);
6 years ago
append(title, t);
},
p: noop,
i: noop,
o: noop,
6 years ago
d(detaching) {
if (detaching) detach(svg);
7 years ago
}
};
}
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, {});
}
}
export default Component;