diff options
author | bptato <nincsnevem662@gmail.com> | 2024-02-23 01:43:56 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-02-23 01:45:31 +0100 |
commit | 897e403c49fe71addbddd6da0784e399c62c9a32 (patch) | |
tree | ce32c371e484eed55c2e519aaf99991a420c8391 /src/html | |
parent | 05dc6191feb1f14423de9ee12eef6728e2839f69 (diff) | |
download | chawan-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.nim | 6 |
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 |