1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 10:05:05 -07:00

emscripten template: make the module global

This commit is contained in:
Frank Denis 2017-10-05 00:16:37 +02:00
parent cc8cd391c9
commit 752c1fff2d

View File

@ -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;