Skip to content

Commit 77e4e22

Browse files
committed
lint
1 parent fe7ca9b commit 77e4e22

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

packages/svelte/src/internal/client/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ export const PROXY_PATH_SYMBOL = Symbol('proxy path');
3030
export const ELEMENT_NODE = 1;
3131
export const TEXT_NODE = 3;
3232
export const COMMENT_NODE = 8;
33-
export const DOCUMENT_FRAGMENT_NODE = 11;
33+
export const DOCUMENT_FRAGMENT_NODE = 11;

packages/svelte/src/internal/client/dom/blocks/html.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@ export function html(node, get_value, svg = false, mathml = false, skip_warning
6868
var next = hydrate_next();
6969
var last = next;
7070

71-
while (next !== null && (next.nodeType !== COMMENT_NODE || /** @type {Comment} */ (next).data !== '')) {
71+
while (
72+
next !== null &&
73+
(next.nodeType !== COMMENT_NODE || /** @type {Comment} */ (next).data !== '')
74+
) {
7275
last = next;
7376
next = /** @type {TemplateNode} */ (get_next_sibling(next));
7477
}

packages/svelte/src/internal/client/dom/blocks/svelte-head.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ export function head(render_fn) {
3737

3838
while (
3939
head_anchor !== null &&
40-
(head_anchor.nodeType !== COMMENT_NODE || /** @type {Comment} */ (head_anchor).data !== HYDRATION_START)
40+
(head_anchor.nodeType !== COMMENT_NODE ||
41+
/** @type {Comment} */ (head_anchor).data !== HYDRATION_START)
4142
) {
4243
head_anchor = /** @type {TemplateNode} */ (get_next_sibling(head_anchor));
4344
}

0 commit comments

Comments
 (0)