Skip to content

Commit

Permalink
unused
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Aug 19, 2024
1 parent 38ba2ac commit 11c8fe2
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,7 @@ export function process_children(nodes, initial, is_element, { visit, state }) {
sequence = [];
}

if (
node.type === 'SvelteHead' ||
node.type === 'TitleElement' ||
node.type === 'SnippetBlock'
) {
// These nodes do not contribute to the sibling/child tree
// TODO what about e.g. ConstTag and all the other things that
// get hoisted inside clean_nodes?
visit(node, state);
} else if (is_static_element(node)) {
if (is_static_element(node)) {
visit(node, state);
skipped += 1;
} else {
Expand Down

0 comments on commit 11c8fe2

Please sign in to comment.