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:
Karl Seguin
2026-02-08 09:55:18 +08:00
parent aca3fae6b1
commit cccb45fe13

View File

@@ -241,7 +241,6 @@ pub const JsApi = struct {
pub const bridge = js.Bridge(Custom);
pub const Meta = struct {
pub const name = "TODO-CUSTOM-NAME";
pub const prototype_chain = bridge.prototypeChain();
pub var class_id: bridge.ClassId = undefined;
};