From b7f18a74acb3794d5595a852cdc557d566786baa Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Fri, 4 Jun 2021 15:01:53 +1000 Subject: [PATCH] Web client: Count election asynchronously in Web Worker --- html/index.html | 422 ++++++++++++++++++++++++------------------------ html/index.js | 90 +++++------ html/worker.js | 45 ++++++ src/lib.rs | 4 + 4 files changed, 302 insertions(+), 259 deletions(-) create mode 100644 html/worker.js diff --git a/html/index.html b/html/index.html index f3b6f40..a79a9ae 100644 --- a/html/index.html +++ b/html/index.html @@ -24,226 +24,228 @@ -