Use jassl lib

This commit is contained in:
RainLoop Team 2016-05-21 01:46:56 +03:00
parent e451b2aaf9
commit acd271974d
7 changed files with 601 additions and 39 deletions

View file

@ -1280,7 +1280,7 @@ class AppUser extends AbstractApp
kn.routeOn();
}
if (window.jsloader && window.crypto && window.crypto.getRandomValues && Settings.capa(Enums.Capa.OpenPGP))
if (window.jassl && window.crypto && window.crypto.getRandomValues && Settings.capa(Enums.Capa.OpenPGP))
{
const openpgpCallback = (openpgp) => {
@ -1312,7 +1312,7 @@ class AppUser extends AbstractApp
}
else
{
window.jsloader(Links.openPgpJs()).then(() => {
window.jassl(Links.openPgpJs()).then(() => {
if (window.openpgp)
{
openpgpCallback(window.openpgp);