delete commented old code
This commit is contained in:
parent
9384bd86e2
commit
e54a881088
@ -20,17 +20,6 @@ let { SetVersion, GoChangeRoute, GoSetStatus } = window as unknown as GoCallback
|
||||
|
||||
let w = window as unknown as GoCallback;
|
||||
|
||||
|
||||
|
||||
// var register = function <Type>(name: string): void {
|
||||
// const event = new CustomEvent<Type>(`${name}_Callback`, {
|
||||
// detail: value
|
||||
// })
|
||||
// document.dispatchEvent(event)
|
||||
// };
|
||||
|
||||
// w.SetVersion = register<string>('SetVersion')
|
||||
|
||||
(<GoCallback>(<unknown>window)).GoChangeRoute = function <T>(value: T): void {
|
||||
const event = new CustomEvent<T>('GoChangeRoute_Callback', {
|
||||
detail: value,
|
||||
|
Loading…
Reference in New Issue
Block a user