First implementation of Event system

Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
Francis Bouvier
2024-01-17 00:12:57 +01:00
parent 6bac8763f7
commit ae6a714573
5 changed files with 133 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ const NamedNodeMapExecFn = @import("dom/namednodemap.zig").testExecFn;
const DOMTokenListExecFn = @import("dom/token_list.zig").testExecFn;
const NodeListTestExecFn = @import("dom/nodelist.zig").testExecFn;
const AttrTestExecFn = @import("dom/attribute.zig").testExecFn;
const EventTargetTestExecFn = @import("dom/event_target.zig").testExecFn;
pub const Types = jsruntime.reflect(apiweb.Interfaces);
@@ -73,6 +74,7 @@ fn testsAllExecFn(
DOMTokenListExecFn,
NodeListTestExecFn,
AttrTestExecFn,
EventTargetTestExecFn,
};
inline for (testFns) |testFn| {