diff options
author | bptato <nincsnevem662@gmail.com> | 2024-09-30 21:25:20 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-09-30 21:25:20 +0200 |
commit | f9433f13765ca6ec6aa5d2c34dd4d3c76d93c08a (patch) | |
tree | b94a661a8821aafe1cc6945ead210abc1349e3de /src/html | |
parent | bcadca71a694c68263d03da27fcaf3fc897da38f (diff) | |
download | chawan-f9433f13765ca6ec6aa5d2c34dd4d3c76d93c08a.tar.gz |
timeout: accept err stream as param
gets rid of a todo. (not sure why I thought this was important, but it sure looks nicer)
Diffstat (limited to 'src/html')
-rw-r--r-- | src/html/env.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/env.nim b/src/html/env.nim index 27a12816..2628c09b 100644 --- a/src/html/env.nim +++ b/src/html/env.nim @@ -279,7 +279,7 @@ proc addScripting*(window: Window) = window.jsrt = rt window.jsctx = ctx window.importMapsAllowed = true - window.timeouts = newTimeoutState(ctx, window.console.err, evalJSFree, window) + window.timeouts = newTimeoutState(ctx, evalJSFree, window) ctx.addWindowModule() ctx.setGlobal(window) ctx.addDOMExceptionModule() |