prettier --write

This commit is contained in:
RainLoop Team 2019-07-04 22:19:24 +03:00
parent 450528ff00
commit 8a0be3212d
164 changed files with 7053 additions and 9008 deletions

View file

@ -1,12 +1,10 @@
import window from 'window';
import $ from '$';
import ko from 'ko';
import {settingsGet} from 'Storage/Settings';
import {AbstractAppStore} from 'Stores/AbstractApp';
import { settingsGet } from 'Storage/Settings';
import { AbstractAppStore } from 'Stores/AbstractApp';
class AppAdminStore extends AbstractAppStore
{
class AppAdminStore extends AbstractAppStore {
constructor() {
super();

View file

@ -1,10 +1,8 @@
import ko from 'ko';
import {Capa} from 'Common/Enums';
import { Capa } from 'Common/Enums';
import * as Settings from 'Storage/Settings';
class CapaAdminStore
{
class CapaAdminStore {
constructor() {
this.additionalAccounts = ko.observable(false);
this.identities = ko.observable(false);

View file

@ -1,8 +1,6 @@
import ko from 'ko';
class CoreAdminStore
{
class CoreAdminStore {
constructor() {
this.coreReal = ko.observable(true);
this.coreChannel = ko.observable('stable');
@ -10,8 +8,8 @@ class CoreAdminStore
this.coreUpdatable = ko.observable(true);
this.coreAccess = ko.observable(true);
this.coreWarning = ko.observable(false);
this.coreChecking = ko.observable(false).extend({throttle: 100});
this.coreUpdating = ko.observable(false).extend({throttle: 100});
this.coreChecking = ko.observable(false).extend({ throttle: 100 });
this.coreUpdating = ko.observable(false).extend({ throttle: 100 });
this.coreVersion = ko.observable('');
this.coreRemoteVersion = ko.observable('');
this.coreRemoteRelease = ko.observable('');

View file

@ -1,11 +1,9 @@
import ko from 'ko';
class DomainAdminStore
{
class DomainAdminStore {
constructor() {
this.domains = ko.observableArray([]);
this.domains.loading = ko.observable(false).extend({'throttle': 100});
this.domains.loading = ko.observable(false).extend({ 'throttle': 100 });
this.domainsWithoutAliases = this.domains.filter((item) => item && !item.alias);
}
}

View file

@ -1,8 +1,6 @@
import ko from 'ko';
class LicenseAdminStore
{
class LicenseAdminStore {
constructor() {
this.licensing = ko.observable(false);
this.licensingProcess = ko.observable(false);

View file

@ -1,11 +1,9 @@
import ko from 'ko';
class PackageAdminStore
{
class PackageAdminStore {
constructor() {
this.packages = ko.observableArray([]);
this.packages.loading = ko.observable(false).extend({throttle: 100});
this.packages.loading = ko.observable(false).extend({ throttle: 100 });
this.packagesReal = ko.observable(true);
this.packagesMainUpdatable = ko.observable(true);

View file

@ -1,11 +1,9 @@
import ko from 'ko';
class PluginAdminStore
{
class PluginAdminStore {
constructor() {
this.plugins = ko.observableArray([]);
this.plugins.loading = ko.observable(false).extend({throttle: 100});
this.plugins.loading = ko.observable(false).extend({ throttle: 100 });
this.plugins.error = ko.observable('');
}
}