diff options
| author | bptato <nincsnevem662@gmail.com> | 2024-11-10 18:26:26 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2024-11-10 18:26:26 +0100 |
| commit | 83975d1e0bc08d99ca1bf1353c663e87279e7abd (patch) | |
| tree | 808ad6582f80b75a825a617b1cf59fbc8deebc93 /src/js | |
| parent | db250b08282de0ca06be4653ac3fdaac423a2b43 (diff) | |
| download | chawan-83975d1e0bc08d99ca1bf1353c663e87279e7abd.tar.gz | |
dom: add replaceChild, requestAnimationFrame
Diffstat (limited to 'src/js')
| -rw-r--r-- | src/js/timeout.nim | 2 |
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 |