mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-26 11:47:13 +09:00
emscripten template: make the module global
This commit is contained in:
@@ -28,9 +28,10 @@ body {
|
||||
<h1></h1>
|
||||
<section class="test" id="test-res"></section>
|
||||
<script>
|
||||
var Module = { preRun: function() { performance.mark('bench_start') } };
|
||||
|
||||
function runTest(tname) {
|
||||
var xhr, expected, hn, idx = 0, passed = true,
|
||||
Module = { preRun: function() { performance.mark('bench_start') } };
|
||||
var xhr, expected, hn, idx = 0, passed = true;
|
||||
|
||||
function outputReceived(e) {
|
||||
var found = e.data;
|
||||
|
||||
Reference in New Issue
Block a user