aboutsummaryrefslogtreecommitdiff
path: root/src/app/root.zig
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-10-12 09:43:19 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2026-10-12 09:43:19 +0200
commit0b2af471b6d5dfc4eaf53639102c1b854bbb324b (patch)
treeaba3943b8c54d26d8552d0685d4178bc995d91c3 /src/app/root.zig
parent812f547d84b5ce1a2924ae16f6257e4fd19efcc0 (diff)
first version of zilch
Diffstat (limited to 'src/app/root.zig')
-rw-r--r--src/app/root.zig12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/app/root.zig b/src/app/root.zig
index bbd07d2..d172b23 100644
--- a/src/app/root.zig
+++ b/src/app/root.zig
@@ -1,19 +1,19 @@
const builtin = @import("builtin");
const std = @import("std");
-const zs = @import("zeroscript");
+const zilch = @import("zilch");
-pub const panic = zs.panic;
+pub const panic = zilch.panic;
pub const std_options: std.Options = .{
- .logFn = zs.log.default,
+ .logFn = zilch.log.default,
};
const components = @import("components/root.zig").components;
-pub const app: zs.App(.{
+pub const app: zilch.App(.{
.name = "Memora",
.globals = &.{
- zs.Object.global(.window),
- zs.Object.global(.Object),
+ zilch.Object.global(.window),
+ zilch.Object.global(.Object),
},
.components = components,
.body = .parse(@embedFile("index.html")),