about summary refs log tree commit diff stats
path: root/src/html/dom.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/dom.nim')
-rw-r--r--src/html/dom.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim
index fef66e2d..4bc76a0a 100644
--- a/src/html/dom.nim
+++ b/src/html/dom.nim
@@ -13,6 +13,7 @@ import html/tags
 import io/loader
 import io/request
 import js/javascript
+import js/timeout
 import types/mime
 import types/referer
 import types/url
@@ -83,6 +84,7 @@ type
     jsrt*: JSRuntime
     jsctx*: JSContext
     document* {.jsget.}: Document
+    timeouts*: TimeoutState[int]
 
   # Navigator stuff
   Navigator* = ref object