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 committed 2026-02-08 09:56:53 +08:00
1 parent aca3fae6b1
commit cccb45fe13
1 file changed
-1
@@ -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;
};