test
Browse files- index.html +6 -0
index.html
CHANGED
@@ -171,6 +171,12 @@
|
|
171 |
|
172 |
<script type="text/javascript" src="js/helpers.js"></script>
|
173 |
<script type='text/javascript'>
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
// web audio context
|
175 |
var context = null;
|
176 |
|
|
|
171 |
|
172 |
<script type="text/javascript" src="js/helpers.js"></script>
|
173 |
<script type='text/javascript'>
|
174 |
+
document.addEventListener("DOMContentLoaded", () => {
|
175 |
+
//check is shared array buffer is supported
|
176 |
+
if (!window.SharedArrayBuffer) {
|
177 |
+
document.querySelector("#warning").style.display = "block";
|
178 |
+
}
|
179 |
+
});
|
180 |
// web audio context
|
181 |
var context = null;
|
182 |
|