mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-02-04 06:23:45 +00:00
remove unused import and unused export
This commit is contained in:
@@ -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");
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user