Skip to content

Commit

Permalink
update alert
Browse files Browse the repository at this point in the history
  • Loading branch information
stutxo committed Apr 2, 2024
1 parent a03890c commit bcde7bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ <h1 style="text-align: center; color: #333;">blockwars.gg</h1>
//This is a base64 encoded WebAssembly binary, it is 33% bigger than the original .wasm binary, im just testing it out.

// Base64WasmStart
const base64Wasm = 'AGFzbQEAAAABBwFgA39/fwADAgEABQMBABQGGQN/AEG8gsAAC38AQcDyzwALfwBBwPLPAAsHOgUGbWVtb3J5AgAJZ2FtZV9sb29wAAAGQlVGRkVSAwAKX19kYXRhX2VuZAMBC19faGVhcF9iYXNlAwIKpgsBowsBEX8gAQRAQbmCwABBAToAAAsCQCACQQFHDQAgAEEBaiIAQQ10IABzIgBBEXYgAHMiAEEFdCAAcyIKQQ10IApzIgBBEXYgAHMiAEEFdCAAcyIAQQ10IABzIgFBEXYgAXMiAUEFdCABcyIBQRFwIghBEWwgAEERcCIFakGYgMAAakEBOgAAIApBB3BBAmohCQNAIAVBD2whDCAIQQ9sIQ0gCEEFaiEOIAVBBWohDwNAIAMgCSADIAlLGyEQQQggAyADQQhNGyIRQQFqIRIDQCADIBBGBEAgCkEDbCAKQQduQRVsa0GIgMAAaiECA0AgCUEHSw0FIAJBADoAACACQQNqIQIgCUEBaiEJDAALAAsgA0EBaiEHIAMgEUYEQCASIQMMAgsgAwRAQeQAIQIDQCACRQRAIAchAwwDCyABQQ10IAFzIgBBEXYgAHMiAEEFdCAAcyIBQQ10IAFzIgFBEXYgAXMiAUEFdCABcyIBQQdwIQQCQAJAIABBAXEEQCAFIQYgBCAPakERcCIAIQsgCCEEIAAgBUYNAgwBCyAFIQsgBCAOakERcCIAIQQgCCIGIABGDQELIARBEWwgC2pBmIDAAGoiEy0AAEEBQXAgAEEQSRsgAGogBkZyDQAgE0EBOgAAIANBA2wiAEGCgMA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AaiAANgIACyACQQFqIQIMAQsLIAVBAWohBQwACwALDwsgBkEDaiEGDAALAAs=';
// Base64WasmEnd
const canvas = document.getElementById('canvas');

Expand Down Expand Up @@ -172,6 +172,7 @@ <h1 style="text-align: center; color: #333;">blockwars.gg</h1>

} catch (error) {
console.error('Error loading WASM module:', error);
alert('Error loading WASM module, see console for details');
}
}

Expand Down

0 comments on commit bcde7bd

Please sign in to comment.