Skip to content

Commit

Permalink
beginning to decompose cryptofill to allow dynamic import
Browse files Browse the repository at this point in the history
  • Loading branch information
dannycoates committed Feb 21, 2019
1 parent c146c58 commit 9e919ed
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3,704 deletions.
3 changes: 2 additions & 1 deletion app/capabilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading

0 comments on commit 9e919ed

Please sign in to comment.