moved to correct constants

pull/10936/head
Daniel 2 years ago
parent 6af955edad
commit f24fea1616

@ -26,8 +26,6 @@ export const VoidElements = [
'wbr'
];
export const RawTextElements = ['textarea', 'script', 'style', 'title'];
export const PassiveEvents = ['wheel', 'touchstart', 'touchmove', 'touchend', 'touchcancel'];
export const Runes = /** @type {const} */ ([

@ -16,6 +16,9 @@ export const TRANSITION_IN = 1;
export const TRANSITION_OUT = 1 << 1;
export const TRANSITION_GLOBAL = 1 << 2;
/** List of elements that require raw contents and should not have SSR comments put in them */
export const RawTextElements = ['textarea', 'script', 'style', 'title'];
/** List of Element events that will be delegated */
export const DelegatedEvents = [
'beforeinput',

@ -3,13 +3,13 @@ import { is_promise, noop } from '../common.js';
import { subscribe_to_store } from '../../store/utils.js';
import {
DOMBooleanAttributes,
RawTextElements,
disallowed_paragraph_contents,
interactive_elements,
is_tag_valid_with_parent
} from '../../constants.js';
import { DEV } from 'esm-env';
import { UNINITIALIZED } from '../client/constants.js';
import { RawTextElements } from '../../compiler/phases/constants.js';
export * from '../client/validate.js';

Loading…
Cancel
Save