mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 04:34:44 +00:00
Remove the "TODO-CUSTOM-NAME" name on custom elements
Giving a WebAPI a JsApi.Meta.name registers that name on the global object, e.g window['TODO-CUSTOM-NAME'] becomes a type.
This commit is contained in:
@@ -241,7 +241,6 @@ pub const JsApi = struct {
|
|||||||
pub const bridge = js.Bridge(Custom);
|
pub const bridge = js.Bridge(Custom);
|
||||||
|
|
||||||
pub const Meta = struct {
|
pub const Meta = struct {
|
||||||
pub const name = "TODO-CUSTOM-NAME";
|
|
||||||
pub const prototype_chain = bridge.prototypeChain();
|
pub const prototype_chain = bridge.prototypeChain();
|
||||||
pub var class_id: bridge.ClassId = undefined;
|
pub var class_id: bridge.ClassId = undefined;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user