mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
[Glitch] upgrade/replace websocket.js to @gamestdio/websocket v2
Port f92ed32df4489210ab0ef557f1df90bc5e97d8e6 to glitch-soc Co-authored-by: hina <hina@hinaloe.net> Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
parent
abcba5c198
commit
176f1da267
@ -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));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user