Improve scripts load system

This commit is contained in:
RainLoop Team 2016-05-20 03:04:15 +03:00
parent 58b9eed8e8
commit 72bf212f67
39 changed files with 916 additions and 411 deletions

View file

@ -32,7 +32,7 @@ class RainLoopStorage
setHash() {
const
key = 'AuthAccountHash',
appData = window.rainloopAppData
appData = window.__rlah_data()
;
if (this.s)
{

View file

@ -8,7 +8,7 @@ class SettingsStorage
appSettings = {};
constructor() {
this.settings = window.rainloopAppData || {};
this.settings = window.__rlah_data() || {};
this.settings = Utils.isNormal(this.settings) ? this.settings : {};
this.appSettings = this.settings.System || null;