MCPcopy
hub / github.com/di-sukharev/opencommit / pd

Function pd

out/cli.cjs:9796–9804  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

9794 var privateData = /* @__PURE__ */ new WeakMap();
9795 var wrappers = /* @__PURE__ */ new WeakMap();
9796 function pd(event) {
9797 const retv = privateData.get(event);
9798 console.assert(
9799 retv != null,
9800 "'this' is expected an Event object, but got",
9801 event
9802 );
9803 return retv;
9804 }
9805 function setCancelFlag(data) {
9806 if (data.passiveListener != null) {
9807 if (typeof console !== "undefined" && typeof console.error === "function") {

Callers 15

typeFunction · 0.85
targetFunction · 0.85
currentTargetFunction · 0.85
composedPathFunction · 0.85
eventPhaseFunction · 0.85
stopPropagationFunction · 0.85
stopImmediatePropagationFunction · 0.85
bubblesFunction · 0.85
cancelableFunction · 0.85
preventDefaultFunction · 0.85
defaultPreventedFunction · 0.85
composedFunction · 0.85

Calls 2

assertMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected