about summary refs log tree commit diff stats
path: root/src/html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-02-23 01:43:56 +0100
committerbptato <nincsnevem662@gmail.com>2024-02-23 01:45:31 +0100
commit897e403c49fe71addbddd6da0784e399c62c9a32 (patch)
treece32c371e484eed55c2e519aaf99991a420c8391 /src/html
parent05dc6191feb1f14423de9ee12eef6728e2839f69 (diff)
downloadchawan-897e403c49fe71addbddd6da0784e399c62c9a32.tar.gz
buffer: improve cancel, use _exit, misc cleanups
* cancel resources on cancel() call
* call _exit in signal handler (also in loader)
* misc cleanups
Diffstat (limited to 'src/html')
-rw-r--r--src/html/dom.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim
index e5d871ba..2fa50e3b 100644
--- a/src/html/dom.nim
+++ b/src/html/dom.nim
@@ -57,9 +57,9 @@ type
     FORM_ENCODING_TYPE_TEXT_PLAIN = "text/plain"
 
 type DocumentReadyState* = enum
-  READY_STATE_LOADING = "loading"
-  READY_STATE_INTERACTIVE = "interactive"
-  READY_STATE_COMPLETE = "complete"
+  rsLoading = "loading"
+  rsInteractive = "interactive"
+  rsComplete = "complete"
 
 type
   Location = ref object