Removed: twitter, google, dropbox, facebook, owncloud, modernizr from JavaScript

This commit is contained in:
djmaze 2020-03-11 12:55:03 +01:00
parent e8d38a6870
commit 4468d5bd22
60 changed files with 7 additions and 4152 deletions

View file

@ -26,7 +26,6 @@ import * as Settings from 'Storage/Settings';
import LanguageStore from 'Stores/Language';
import ThemeStore from 'Stores/Theme';
import SocialStore from 'Stores/Social';
import { routeOff, setHash } from 'Knoin/Knoin';
import { AbstractBoot } from 'Knoin/AbstractBoot';
@ -38,7 +37,6 @@ class AbstractApp extends AbstractBoot {
constructor() {
super();
this.googlePreviewSupportedCache = null;
this.isLocalAutocomplete = true;
this.iframe = null;
this.lastErrorTime = 0;
@ -140,18 +138,6 @@ class AbstractApp extends AbstractBoot {
return true;
}
/**
* @returns {boolean}
*/
googlePreviewSupported() {
if (null === this.googlePreviewSupportedCache) {
this.googlePreviewSupportedCache =
!!Settings.settingsGet('AllowGoogleSocial') && !!Settings.settingsGet('AllowGoogleSocialPreview');
}
return this.googlePreviewSupportedCache;
}
/**
* @param {string} title
*/
@ -345,7 +331,6 @@ class AbstractApp extends AbstractBoot {
LanguageStore.populate();
ThemeStore.populate();
SocialStore.populate();
}
}