mirror of
https://github.com/ParkerTenBroeck/automata.git
synced 2026-06-07 05:28:45 -04:00
organized graph style, added icon
This commit is contained in:
parent
47d7482342
commit
821c6a6aad
7 changed files with 156 additions and 140 deletions
|
|
@ -9,7 +9,7 @@ try{
|
|||
wasm.init();
|
||||
}catch(e){
|
||||
console.error("Failed to start: " + e);
|
||||
document.getElementById("the_canvas_id")!.remove();
|
||||
document.getElementById("app")!.remove();
|
||||
document.getElementById("center_text")!.innerHTML = `
|
||||
<p>
|
||||
An error occurred during loading:
|
||||
|
|
@ -20,6 +20,7 @@ try{
|
|||
<p style="font-size:14px">
|
||||
Make sure you use a modern browser with WebGL and WASM enabled.
|
||||
</p>`;
|
||||
throw e;
|
||||
}
|
||||
|
||||
export default wasm
|
||||
Loading…
Add table
Add a link
Reference in a new issue