@@ -6,6 +6,7 @@ const log = @import("../../log.zig");
66const Page = @import ("../Page.zig" );
77const Console = @import ("Console.zig" );
88const History = @import ("History.zig" );
9+ const Intl = @import ("intl/Intl.zig" );
910const Navigator = @import ("Navigator.zig" );
1011const Document = @import ("Document.zig" );
1112const Location = @import ("Location.zig" );
@@ -52,6 +53,10 @@ pub fn getNavigator(_: *const Window) Navigator {
5253 return .{};
5354}
5455
56+ pub fn getIntl (_ : * const Window ) Intl {
57+ return .{};
58+ }
59+
5560pub fn getLocalStorage (self : * const Window ) * storage.Lookup {
5661 return & self ._storage_bucket .local ;
5762}
@@ -266,6 +271,7 @@ pub const JsApi = struct {
266271 pub const parent = bridge .accessor (Window .getWindow , null , .{ .cache = "parent" });
267272 pub const console = bridge .accessor (Window .getConsole , null , .{ .cache = "console" });
268273 pub const navigator = bridge .accessor (Window .getNavigator , null , .{ .cache = "navigator" });
274+ pub const Intl = bridge .accessor (Window .getIntl , null , .{ .cache = "Intl" });
269275 pub const localStorage = bridge .accessor (Window .getLocalStorage , null , .{ .cache = "localStorage" });
270276 pub const sessionStorage = bridge .accessor (Window .getSessionStorage , null , .{ .cache = "sessionStorage" });
271277 pub const document = bridge .accessor (Window .getDocument , null , .{ .cache = "document" });
0 commit comments