warn on missing webassembly
This commit is contained in:
parent
881f452957
commit
e13bb37c83
|
@ -11,9 +11,9 @@ import init, {
|
||||||
set_rotate
|
set_rotate
|
||||||
} from './pkg/tilesy.js';
|
} from './pkg/tilesy.js';
|
||||||
|
|
||||||
// if (typeof WebAssembly !== "object") {
|
if (typeof WebAssembly !== "object") {
|
||||||
// document.getElementById("start").innerText = "Sorry - your browser does not support WebAssembly";
|
document.getElementById("start").innerText = "Sorry - your browser does not support WebAssembly";
|
||||||
// }
|
}
|
||||||
|
|
||||||
// stolen from https://ourcodeworld.com/articles/read/189/how-to-create-a-file-and-generate-a-download-with-javascript-in-the-browser-without-a-server
|
// stolen from https://ourcodeworld.com/articles/read/189/how-to-create-a-file-and-generate-a-download-with-javascript-in-the-browser-without-a-server
|
||||||
function download(filename, text) {
|
function download(filename, text) {
|
||||||
|
|
Loading…
Reference in New Issue