OpenPGP first look (#53)

This commit is contained in:
RainLoop Team 2014-01-28 01:34:54 +04:00
parent 74991b16d9
commit 098a04eab6
15 changed files with 175 additions and 20 deletions

View file

@ -3222,6 +3222,15 @@ LinkBuilder.prototype.notificationMailIcon = function ()
this.sVersion + '/static/css/images/icom-message-notification.png';
};
/**
* @return {string}
*/
LinkBuilder.prototype.openPgpJs = function ()
{
return ('' === this.sCdnStaticDomain ? 'rainloop/v/' : this.sCdnStaticDomain) +
this.sVersion + '/static/js/openpgp.js';
};
/**
* @return {string}
*/

File diff suppressed because one or more lines are too long

View file

@ -3222,6 +3222,15 @@ LinkBuilder.prototype.notificationMailIcon = function ()
this.sVersion + '/static/css/images/icom-message-notification.png';
};
/**
* @return {string}
*/
LinkBuilder.prototype.openPgpJs = function ()
{
return ('' === this.sCdnStaticDomain ? 'rainloop/v/' : this.sCdnStaticDomain) +
this.sVersion + '/static/js/openpgp.js';
};
/**
* @return {string}
*/
@ -17362,6 +17371,18 @@ RainLoopApp.prototype.bootstart = function ()
if (bValue)
{
// if (window.crypto && window.crypto.getRandomValues)
// {
// $.ajax({
// 'url': RL.link().openPgpJs(),
// 'dataType': 'script',
// 'cache': true,
// 'success': function () {
// window.console.log('openPgpJs');
// }
// });
// }
kn.startScreens([MailBoxScreen, SettingsScreen]);
// setup maito protocol
@ -17426,7 +17447,6 @@ RainLoopApp.prototype.bootstart = function ()
}
if (!Globals.bMobileDevice)
// if (false)
{
_.defer(function () {
Utils.initLayoutResizer('#rl-left', '#rl-right', Enums.ClientSideKeyName.FolderListSize);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long