(id, draw)
| 39 | * @param {ThirdPartyFunctionDef} draw Function that draws the 3p integration. |
| 40 | */ |
| 41 | export function register(id, draw) { |
| 42 | const registrations = getRegistrations(); |
| 43 | devAssert(!registrations[id], 'Double registration %s', id); |
| 44 | registrations[id] = draw; |
| 45 | } |
| 46 | |
| 47 | /** |
| 48 | * Execute the 3p integration with the given id. |
no test coverage detected