about summary refs log tree commit diff stats
path: root/src/html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-07-03 16:22:13 +0200
committerbptato <nincsnevem662@gmail.com>2023-07-03 16:22:50 +0200
commitd86abdbfcf081d6a91d0cfc37c5c854527b7b551 (patch)
tree2767f7e9ebea6fd14142a893630886af2a9c0992 /src/html
parent3c5aa0645bcc1d2481cdb4b03001afd96fd318e0 (diff)
downloadchawan-d86abdbfcf081d6a91d0cfc37c5c854527b7b551.tar.gz
Fix compilation failure
Diffstat (limited to 'src/html')
-rw-r--r--src/html/event.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/html/event.nim b/src/html/event.nim
index d4b6b691..67e21b71 100644
--- a/src/html/event.nim
+++ b/src/html/event.nim
@@ -5,7 +5,8 @@ type
 
   EventTarget* = ref object of RootObj
 
-  EventHandler* = proc(event: Event): JSValue
+  #EventHandler* = proc(event: Event): JSValue #TODO ?
+  EventHandler* = JSValue
 
 jsDestructor(Event)
 jsDestructor(EventTarget)