mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
chore: clean up FSM code
This commit is contained in:
6
src/lib/window.ts
Normal file
6
src/lib/window.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export function injectController(key: string, value: any) {
|
||||
(window as any).controllers = {
|
||||
...((window as any).controllers ?? {}),
|
||||
[key]: value,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user