fuzzyworld

dao-game / peerjs-browser-bug / files / src / index.ts

Branch peerjs-browser-bug · default branch · all branches

index.ts

Blame: the commit that last changed each line · file · history

e46456c2 2022-03-22 Pavel Safronov1import { showModal } from "./modal";
2
3const doStuff = async () => {
4 await showModal({
f2837cac 2022-03-22 Pavel Safronov5 text: "<p>Your current browser is not yet supported.</p>" +
6 "<p>This PeerJs issue is tracking support in Microsoft Edge and Safari: </p>" +
7 "<p><a href=\"https://github.com/peers/peerjs/issues/899\">https://github.com/peers/peerjs/issues/899</a></p>",
e46456c2 2022-03-22 Pavel Safronov8 willBackgroundCancel: false
9 });
10 await showModal({
11 text: 'Another thing!'
12 });
13};
14doStuff();