diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2022-04-27 23:06:40 +0900 |
|---|---|---|
| committer | tamaina <tamaina@hotmail.co.jp> | 2022-04-27 23:06:40 +0900 |
| commit | f9bae60357ec4c67d3cf96b5d53c6eee852569cb (patch) | |
| tree | ab15fd2138ae71e2ca9efcec59029312413910cb /packages/client/src/scripts | |
| parent | Merge branch 'develop' into pizzax-indexeddb (diff) | |
| download | sharkey-f9bae60357ec4c67d3cf96b5d53c6eee852569cb.tar.gz sharkey-f9bae60357ec4c67d3cf96b5d53c6eee852569cb.tar.bz2 sharkey-f9bae60357ec4c67d3cf96b5d53c6eee852569cb.zip | |
remove deepcopy and broadcast-channel (=< Safari 15.4)
Diffstat (limited to 'packages/client/src/scripts')
| -rw-r--r-- | packages/client/src/scripts/unison-reload.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/client/src/scripts/unison-reload.ts b/packages/client/src/scripts/unison-reload.ts index 59af584c1b..0cd7eff38d 100644 --- a/packages/client/src/scripts/unison-reload.ts +++ b/packages/client/src/scripts/unison-reload.ts @@ -1,7 +1,4 @@ -// SafariがBroadcastChannel未実装なのでライブラリを使う -import { BroadcastChannel } from 'broadcast-channel'; - -export const reloadChannel = new BroadcastChannel<string | null>('reload'); +export const reloadChannel = new BroadcastChannel('reload'); // string | null // BroadcastChannelを用いて、クライアントが一斉にreloadするようにします。 export function unisonReload(path?: string) { |