mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
emscripten template: make the module global
This commit is contained in:
parent
cc8cd391c9
commit
752c1fff2d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user