Skip to content

Commit 2e2714c

Browse files
authored
remove window reference on variable init
1 parent 5762c9a commit 2e2714c

File tree

1 file changed

+1
-1
lines changed
  • documentation/examples/20-7guis/04-7guis-timer

1 file changed

+1
-1
lines changed

documentation/examples/20-7guis/04-7guis-timer/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
let elapsed = 0;
77
let duration = 5000;
88
9-
let last_time = window.performance.now();
9+
let last_time
1010
let frame;
1111
1212
const update = () => {

0 commit comments

Comments
 (0)