From b1b4df39abb41a4ae71733e2d139dc70cc71acd8 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Sat, 17 Oct 2026 10:13:13 +0200 Subject: zilch: implement callable and promise --- src/app/root.zig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/app/root.zig') diff --git a/src/app/root.zig b/src/app/root.zig index 25865d2..5d56b49 100644 --- a/src/app/root.zig +++ b/src/app/root.zig @@ -11,10 +11,13 @@ const components = @import("components/root.zig").components; pub const app: zilch.App(.{ .name = "Memora", - .functions = &zilch.Object.functions, + .functions = &(zilch.Object.functions ++ + zilch.Promise.functions ++ + zilch.Callable.functions), .globals = &.{ zilch.Object.global(.window), zilch.Object.global(.Object), + zilch.Callable.global(.fetch), }, .components = components, .body = .parse(@embedFile("index.html")), -- cgit v1.2.3-70-g09d2