Added U Game system
This commit is contained in:
parent
62705c4a7e
commit
96cfbef642
15 changed files with 56 additions and 93 deletions
|
|
@ -43,6 +43,14 @@ declare module "ft_state" {
|
|||
}
|
||||
}
|
||||
|
||||
class DivPrivate extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define("div-private", DivPrivate);
|
||||
|
||||
export function getSocket(): Socket {
|
||||
if (window.__state.chatSock === undefined)
|
||||
window.__state.chatSock = io(window.location.host, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue