From 506c91d905dcf6f40fc59ce2831b9c87dedb4341 Mon Sep 17 00:00:00 2001 From: Daniel Lewis Date: Wed, 3 Apr 2024 19:49:05 -0600 Subject: [PATCH] Commented out load_script() that wasn't used. Recommend removing if you don't need it. --- web/js/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/js/utils.js b/web/js/utils.js index 9e87985..7f5b1f9 100644 --- a/web/js/utils.js +++ b/web/js/utils.js @@ -7,7 +7,7 @@ export async function try_import(name) { return null; } } - +/* export async function load_script(url) { return new Promise((resolve, reject) => { const script = document.createElement('script'); @@ -25,7 +25,7 @@ export async function load_script(url) { document.head.appendChild(script); }); } - +*/ export function compare_version(a, b) { for (let i = 0; i < a.length; ++ i) { if (a[i] > b[i])