MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / wrapEvent

Function wrapEvent

out/cli.cjs:10092–10095  ·  view source on GitHub ↗
(eventTarget, event)

Source from the content-addressed store, hash-verified

10090 return wrapper;
10091 }
10092 function wrapEvent(eventTarget, event) {
10093 const Wrapper = getWrapper(Object.getPrototypeOf(event));
10094 return new Wrapper(eventTarget, event);
10095 }
10096 function isStopped(event) {
10097 return pd(event).immediateStopped;
10098 }

Callers 1

dispatchEventFunction · 0.85

Calls 1

getWrapperFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…