(key)
| 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) { |
no outgoing calls
no test coverage detected
searching dependent graphs…