From 58cea279deaf2307a41473573446d0b946c58223 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sun, 22 Mar 2026 23:07:50 -0700 Subject: [PATCH] Enable testing only after successfully loading library and test vectors. --- index.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 39cd467..bbbc268 100644 --- a/index.html +++ b/index.html @@ -39,9 +39,16 @@ SPDX-License-Identifier: GPL-3.0-or-later ({ NANO_ORG_VECTOR, PYTHON_ED25519_BLAKE2B_VECTORS } = await import('https://git.codecow.com/?p=nano25519.git;a=blob_plain;f=vectors.mjs;hb=refs/heads/main')) } catch (err) { console.error(err) + document.getElementById('status').innerHTML = err?.message ?? err ?? `ERROR WHILE LOADING` } } + if (nano25519 && PYTHON_ED25519_BLAKE2B_VECTORS) { + document.getElementById('btnStartTest').disabled = false + document.getElementById('status').innerHTML = `READY` + } + + /** * Computes various types of averages for a set of numbers. * @@ -476,9 +483,9 @@ SPDX-License-Identifier: GPL-3.0-or-later - +
-

WAITING

+

LOADING



 	
-- 2.47.3