Safari does not have BigInt implemented 🤯

This commit is contained in:
2020-03-10 00:52:41 +01:00
parent e5319662b8
commit ebdaf4a4da

View File

@@ -50,6 +50,14 @@
content="black-translucent"
/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<!-- Super hacky safari bigint import -->
<script src="https://peterolson.github.io/BigInteger.js/BigInteger.min.js"></script>
<script type="application/javascript">
if (navigator.userAgent.includes("Safari")) {
BigInt = bigInt;
}
</script>
</head>
<body>
<div id="app"></div>