Skip to content

Commit

Permalink
warning message if wasm not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
jodogne committed May 24, 2017
1 parent ed46bd9 commit 76d5574
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/app.js
Expand Up @@ -109,3 +109,8 @@ var Module = {
},
totalDependencies: 0
};


if (!('WebAssembly' in window)) {
alert('Sorry, your browser does not support WebAssembly :(');
}

0 comments on commit 76d5574

Please sign in to comment.