fmt: ws -> window.ws
This commit is contained in:
parent
4b5a579b0b
commit
4b3485145f
|
|
@ -22,7 +22,7 @@ function websocketOnOpen (evt) {
|
||||||
|
|
||||||
const foo = '{}'
|
const foo = '{}'
|
||||||
|
|
||||||
ws.send(foo)
|
window.ws.send(foo)
|
||||||
}
|
}
|
||||||
|
|
||||||
function websocketOnMessage (msg) {
|
function websocketOnMessage (msg) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue