mirror of
https://github.com/timvisee/send.git
synced 2026-04-18 21:54:11 -04:00
beginning to decompose cryptofill to allow dynamic import
This commit is contained in:
+2
-1
@@ -46,7 +46,8 @@ async function checkCrypto() {
|
||||
return true;
|
||||
} catch (err) {
|
||||
try {
|
||||
require('./cryptofill');
|
||||
window.asmCrypto = await import('asmcrypto.js');
|
||||
await import('./cryptofill');
|
||||
return true;
|
||||
} catch (e) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user