blockless
Rich Harris 11 months ago
parent 7503afd49a
commit 0085226ab1

@ -7,27 +7,6 @@ import {
} from './constants.js';
import { current_block } from './runtime.js';
/**
* @param {boolean} intro
* @returns {import('./types.js').RootBlock}
*/
export function create_root_block(intro) {
return {
// dom
d: null,
// effect
e: null,
// intro
i: intro,
// parent
p: null,
// transition
r: null,
// type
t: ROOT_BLOCK
};
}
/** @returns {import('./types.js').HeadBlock} */
export function create_head_block() {
return {

@ -10,12 +10,7 @@ import {
map_set,
set_class_name
} from './operations.js';
import {
create_root_block,
create_dynamic_element_block,
create_head_block,
create_snippet_block
} from './block.js';
import { create_dynamic_element_block, create_head_block, create_snippet_block } from './block.js';
import {
PassiveDelegatedEvents,
DelegatedEvents,

Loading…
Cancel
Save