1
0

[Glitch] upgrade/replace websocket.js to @gamestdio/websocket v2

Port f92ed32df4 to glitch-soc

Co-authored-by: hina <hina@hinaloe.net>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
Shlee 2019-12-04 19:45:49 +08:00 committed by Thibaut Girka
parent abcba5c198
commit 176f1da267

View File

@ -1,4 +1,4 @@
import WebSocketClient from 'websocket.js'; import WebSocketClient from '@gamestdio/websocket';
const randomIntUpTo = max => Math.floor(Math.random() * Math.floor(max)); const randomIntUpTo = max => Math.floor(Math.random() * Math.floor(max));