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/head-no-whitespace/expected.js

46 lines
935 B

/* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, append, createElement, detachNode, init, noop, run, safe_not_equal } from "svelte/internal";
function create_fragment(component, ctx) {
var meta0, meta1, current;
return {
c() {
meta0 = createElement("meta");
meta1 = createElement("meta");
meta0.name = "twitter:creator";
meta0.content = "@sveltejs";
meta1.name = "twitter:title";
meta1.content = "Svelte";
},
m(target, anchor) {
append(document.head, meta0);
append(document.head, meta1);
current = true;
},
p: noop,
i(target, anchor) {
if (current) return;
this.m(target, anchor);
},
o: run,
d(detach) {
detachNode(meta0);
detachNode(meta1);
}
};
}
class SvelteComponent extends SvelteComponent_1 {
constructor(options) {
super();
init(this, options, noop, create_fragment, safe_not_equal);
}
}
export default SvelteComponent;