pull/11690/head
Rich Harris 2 years ago
commit f9f71040ad

@ -79,7 +79,7 @@ export function template_with_script(content, flags) {
*/
/*#__NO_SIDE_EFFECTS__*/
export function ns_template(content, flags, ns = 'svg') {
var fn = template(`<${ns}>${content}</${ns}>`, 0); // we don't need to worry about using importNode for SVGs
var fn = template(`<${ns}>${content}</${ns}>`, 0); // we don't need to worry about using importNode for namespaced elements
/** @type {Element | DocumentFragment} */
var node;

Loading…
Cancel
Save