MCPcopy
hub / github.com/opentrace/opentrace / consumedModuleProp

Function consumedModuleProp

ui/public/lbug_wasm_worker.js:1729–1740  ·  view source on GitHub ↗
(prop)

Source from the content-addressed store, hash-verified

1727 );
1728 })();
1729 function consumedModuleProp(prop) {
1730 if (!Object.getOwnPropertyDescriptor(Module, prop)) {
1731 Object.defineProperty(Module, prop, {
1732 configurable: true,
1733 set() {
1734 abort(
1735 `Attempt to set \`Module.${prop}\` after it has already been processed. This can happen, for example, when code is injected via '--post-js' rather than '--pre-js'`,
1736 );
1737 },
1738 });
1739 }
1740 }
1741 function makeInvalidEarlyAccess(name) {
1742 return () =>
1743 assert(

Callers 4

preRunFunction · 0.85
postRunFunction · 0.85
doRunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected