Skip to content

Commit 3647ce3

Browse files
committed
non-constants should be lowercased
1 parent fe2f521 commit 3647ce3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/svelte/src/internal/client/dom/template.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ export function append(anchor, dom) {
250250
anchor.before(/** @type {Node} */ (dom));
251251
}
252252

253-
let NEXT_UID = 100;
253+
let uid = 100;
254254

255255
/**
256256
* Create (or hydrate) an unique UID for the component instance.
@@ -267,5 +267,5 @@ export function props_id() {
267267
return id;
268268
}
269269

270-
return 'c' + NEXT_UID++;
270+
return 'c' + uid++;
271271
}

0 commit comments

Comments
 (0)