[player] Refactor outbound Verona-Service
Most importantly remove the standalone switch and let the service always send postMessage, even when there is no surrounding application listening. This helps testability and has no downsides. Also: - Make methods static where applicable - Remove useless variables and methods - Improve variable initialisation (to allow undefined)
Showing
- projects/player/modules/verona/services/verona-post.service.spec.ts 3 additions, 4 deletions...layer/modules/verona/services/verona-post.service.spec.ts
- projects/player/modules/verona/services/verona-post.service.ts 14 additions, 28 deletions...cts/player/modules/verona/services/verona-post.service.ts
- projects/player/src/app/app.component.ts 2 additions, 7 deletionsprojects/player/src/app/app.component.ts
- projects/player/src/app/components/unit/unit.component.ts 1 addition, 1 deletionprojects/player/src/app/components/unit/unit.component.ts
Loading
Please register or sign in to comment