remove unused import and unused export

This commit is contained in:
Karl Seguin
2026-01-29 07:04:20 +08:00
parent 0a68be695d
commit dfe5c24404
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,6 @@ const builtin = @import("builtin");
const log = @import("../log.zig"); const log = @import("../log.zig");
const String = @import("../string.zig").String; const String = @import("../string.zig").String;
const lp = @import("lightpanda");
const js = @import("js/js.zig"); const js = @import("js/js.zig");
const Page = @import("Page.zig"); const Page = @import("Page.zig");

View File

@@ -48,10 +48,11 @@ pub const ClassListLookup = std.AutoHashMapUnmanaged(*Element, *collections.DOMT
pub const RelListLookup = std.AutoHashMapUnmanaged(*Element, *collections.DOMTokenList); pub const RelListLookup = std.AutoHashMapUnmanaged(*Element, *collections.DOMTokenList);
pub const ShadowRootLookup = std.AutoHashMapUnmanaged(*Element, *ShadowRoot); pub const ShadowRootLookup = std.AutoHashMapUnmanaged(*Element, *ShadowRoot);
pub const AssignedSlotLookup = std.AutoHashMapUnmanaged(*Element, *Html.Slot); pub const AssignedSlotLookup = std.AutoHashMapUnmanaged(*Element, *Html.Slot);
/// Better to discriminate it since not directly a pointer int. /// Better to discriminate it since not directly a pointer int.
/// ///
/// See `calcAttrListenerKey` to obtain one. /// See `calcAttrListenerKey` to obtain one.
pub const AttrListenerKey = u64; const AttrListenerKey = u64;
/// Use `getAttrListenerKey` to create a key. /// Use `getAttrListenerKey` to create a key.
pub const AttrListenerLookup = std.AutoHashMapUnmanaged(AttrListenerKey, js.Function.Global); pub const AttrListenerLookup = std.AutoHashMapUnmanaged(AttrListenerKey, js.Function.Global);