diff --git a/src/app/services/go.ts b/src/app/services/go.ts index adc38e5..db4edce 100644 --- a/src/app/services/go.ts +++ b/src/app/services/go.ts @@ -20,17 +20,6 @@ let { SetVersion, GoChangeRoute, GoSetStatus } = window as unknown as GoCallback let w = window as unknown as GoCallback; - - -// var register = function (name: string): void { -// const event = new CustomEvent(`${name}_Callback`, { -// detail: value -// }) -// document.dispatchEvent(event) -// }; - -// w.SetVersion = register('SetVersion') - ((window)).GoChangeRoute = function (value: T): void { const event = new CustomEvent('GoChangeRoute_Callback', { detail: value,