(e)
| 2092 | JSEvents.batteryEvent ||= _malloc(eventSize) |
| 2093 | |
| 2094 | var batteryEventHandlerFunc = (e) => { |
| 2095 | var batteryEvent = JSEvents.batteryEvent; |
| 2096 | fillBatteryEventData(batteryEvent, battery); |
| 2097 | |
| 2098 | #if PTHREADS |
| 2099 | if (targetThread) __emscripten_run_callback_on_thread(targetThread, callbackfunc, eventTypeId, batteryEvent, eventSize, userData); |
| 2100 | else |
| 2101 | #endif |
| 2102 | if ({{{ makeDynCall('iipp', 'callbackfunc') }}}(eventTypeId, batteryEvent, userData)) e.preventDefault(); |
| 2103 | }; |
| 2104 | |
| 2105 | var eventHandler = { |
| 2106 | target: battery, |
nothing calls this directly
no outgoing calls
no test coverage detected