File tree Expand file tree Collapse file tree
packages/svelte/src/internal/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ export const STALE_REACTION = new (class StaleReactionError extends Error {
6868} ) ( ) ;
6969
7070export const IS_XHTML =
71+ // We gotta write it like this because after downleveling the pure comment may end up in the wrong location
7172 ! ! globalThis . document ?. contentType &&
7273 /* @__PURE__ */ globalThis . document . contentType . includes ( 'xml' ) ;
7374export const ELEMENT_NODE = 1 ;
Original file line number Diff line number Diff line change 33import { create_element } from './operations.js' ;
44
55const policy =
6+ // We gotta write it like this because after downleveling the pure comment may end up in the wrong location
67 globalThis ?. window ?. trustedTypes &&
78 /* @__PURE__ */ globalThis . window . trustedTypes . createPolicy ( 'svelte-trusted-html' , {
89 /** @param {string } html */
You can’t perform that action at this time.
0 commit comments