Code refactoring (4) (es5 -> es2015)

This commit is contained in:
RainLoop Team 2016-07-15 22:54:37 +03:00
parent e8df1cdb57
commit d7ab67a460
30 changed files with 164 additions and 173 deletions

View file

@ -1,7 +1,6 @@
import ko from 'ko';
import * as Settings from 'Storage/Settings';
import {settingsGet} from 'Storage/Settings';
import {AbstractAppStore} from 'Stores/AbstractApp';
class AppAdminStore extends AbstractAppStore
@ -18,14 +17,13 @@ class AppAdminStore extends AbstractAppStore
}
populate() {
super.populate();
this.determineUserLanguage(!!Settings.settingsGet('DetermineUserLanguage'));
this.determineUserDomain(!!Settings.settingsGet('DetermineUserDomain'));
this.determineUserLanguage(!!settingsGet('DetermineUserLanguage'));
this.determineUserDomain(!!settingsGet('DetermineUserDomain'));
this.weakPassword(!!Settings.settingsGet('WeakPassword'));
this.useLocalProxyForExternalImages(!!Settings.settingsGet('UseLocalProxyForExternalImages'));
this.weakPassword(!!settingsGet('WeakPassword'));
this.useLocalProxyForExternalImages(!!settingsGet('UseLocalProxyForExternalImages'));
}
}