aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-11-10 18:26:26 +0100
committerbptato <nincsnevem662@gmail.com>2024-11-10 18:26:26 +0100
commit83975d1e0bc08d99ca1bf1353c663e87279e7abd (patch)
tree808ad6582f80b75a825a617b1cf59fbc8deebc93 /src/js
parentdb250b08282de0ca06be4653ac3fdaac423a2b43 (diff)
downloadchawan-83975d1e0bc08d99ca1bf1353c663e87279e7abd.tar.gz
dom: add replaceChild, requestAnimationFrame
Diffstat (limited to 'src/js')
-rw-r--r--src/js/timeout.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/timeout.nim b/src/js/timeout.nim
index f996a0fe..6c905836 100644
--- a/src/js/timeout.nim
+++ b/src/js/timeout.nim
@@ -59,7 +59,7 @@ proc clearTimeout*(state: var TimeoutState; id: int32) =
entry.dead = true
break
-proc getUnixMillis(): int64 =
+proc getUnixMillis*(): int64 =
let now = getTime()
return now.toUnix() * 1000 + now.nanosecond div 1_000_000