From e54a8810880d544870b143428435dd59cd8a98d6 Mon Sep 17 00:00:00 2001 From: cyber-dream Date: Wed, 23 Nov 2022 03:53:15 +0300 Subject: [PATCH] delete commented old code --- src/app/services/go.ts | 11 ----------- 1 file changed, 11 deletions(-) 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,