MCPcopy Create free account
hub / github.com/Nynxz/ComfyUI-IdeogramHelper / resolveRootNamespace

Function resolveRootNamespace

web/main.js:7561–7568  ·  view source on GitHub ↗
(container)

Source from the content-addressed store, hash-verified

7559 return app2;
7560});
7561function resolveRootNamespace(container) {
7562 if (container instanceof SVGElement) {
7563 return "svg";
7564 }
7565 if (typeof MathMLElement === "function" && container instanceof MathMLElement) {
7566 return "mathml";
7567 }
7568}
7569function normalizeContainer(container) {
7570 if (isString(container)) {
7571 const res = document.querySelector(container);

Callers 1

main.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected