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

Function defineCallDescriptor

out/cli.cjs:10046–10055  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

10044 };
10045 }
10046 function defineCallDescriptor(key) {
10047 return {
10048 value() {
10049 const event = pd(this).event;
10050 return event[key].apply(event, arguments);
10051 },
10052 configurable: true,
10053 enumerable: true
10054 };
10055 }
10056 function defineWrapper(BaseEvent, proto2) {
10057 const keys = Object.keys(proto2);
10058 if (keys.length === 0) {

Callers 1

defineWrapperFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…