MCPcopy Index your code
hub / github.com/pyscript/pyscript / configParser

Function configParser

core/src/config.js:47–50  ·  view source on GitHub ↗
(pyElement)

Source from the content-addressed store, hash-verified

45};
46
47const configParser = (pyElement) => {
48 const parser = pyElement.getAttribute("config-parser");
49 return parser ? new URL(parser, location.href).href : undefined;
50};
51
52const conflictError = (reason) => new Error(`(${CONFLICTING_CODE}): ${reason}`);
53

Callers 1

config.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected