mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-30 15:41:48 +00:00
window: use window as global object
This commit is contained in:
@@ -9,6 +9,7 @@ const EventTarget = @import("../dom/event_target.zig").EventTarget;
|
||||
pub const Window = struct {
|
||||
pub const prototype = *EventTarget;
|
||||
pub const mem_guarantied = true;
|
||||
pub const global_type = true;
|
||||
|
||||
// Extend libdom event target for pure zig struct.
|
||||
base: parser.EventTargetTBase = parser.EventTargetTBase{},
|
||||
|
||||
Reference in New Issue
Block a user