window: use window as global object

This commit is contained in:
Pierre Tachoire
2024-02-26 10:57:51 +01:00
parent b8bf09c8e5
commit fec212ab94
9 changed files with 22 additions and 43 deletions

View File

@@ -3,6 +3,7 @@ const Browser = @import("browser/browser.zig").Browser;
const jsruntime = @import("jsruntime");
const apiweb = @import("apiweb.zig");
pub const Types = jsruntime.reflect(apiweb.Interfaces);
pub const std_options = struct {