Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added demo/AngryBots/AngryBots11.wasm
Binary file not shown.
7 changes: 6 additions & 1 deletion demo/AngryBots/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,13 @@
progress: (new UnityProgress(canvas)),
};

var version = "";
if (Wasm && Wasm.experimentalVersion) {
version = String(Wasm.experimentalVersion);
}

var xhr = new XMLHttpRequest();
xhr.open('GET', 'AngryBots.wasm', true);
xhr.open('GET', 'AngryBots' + version + '.wasm', true);
xhr.responseType = 'arraybuffer';
xhr.onload = function() {
Module.wasmBinary = xhr.response;
Expand Down