make telemetry global
This commit is contained in:
parent
5f8f065636
commit
f1622d49f4
3 changed files with 5 additions and 7 deletions
|
@ -1,3 +1,5 @@
|
|||
import { Telemetry } from "./telemetry.js";
|
||||
|
||||
export class App {
|
||||
constructor(
|
||||
config = {
|
||||
|
@ -54,6 +56,8 @@ export class App {
|
|||
|
||||
this.clear();
|
||||
this.onBeforeUpdate(() => this.clear());
|
||||
|
||||
this.telemetry = new Telemetry(this);
|
||||
}
|
||||
|
||||
clear() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue