* @param options - forwarded to the underlying `connectCapacitor` * wiring (lifecycle, back-button, audio, default-action hook).
(options: ConnectCapacitorOptions = {})
| 27 | * wiring (lifecycle, back-button, audio, default-action hook). |
| 28 | */ |
| 29 | constructor(options: ConnectCapacitorOptions = {}) { |
| 30 | super(); |
| 31 | // Compatibility floor: read straight from `peerDependencies.melonjs` |
| 32 | // so the version lives in one place (package.json). The engine's |
| 33 | // `checkVersion` regex picks the digits out of the range string, |
| 34 | // so the leading `>=` / `^` / `~` is harmless. |
| 35 | this.version = packageJson.peerDependencies.melonjs; |
| 36 | this.teardown = connectCapacitor(options); |
| 37 | } |
| 38 | } |
nothing calls this directly
no test coverage detected