From dd7bf0f902570d4561c07237ea9072f4fc1d3edc Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Fri, 3 Dec 2021 15:12:18 +0100 Subject: Fix dynamic loading MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files_sharing/src/additionalScripts.js | 4 ---- .../src/collaborationresourceshandler.js | 2 -- apps/files_sharing/src/files_sharing.js | 6 ----- apps/files_sharing/src/personal-settings.js | 26 ---------------------- 4 files changed, 38 deletions(-) (limited to 'apps/files_sharing/src') diff --git a/apps/files_sharing/src/additionalScripts.js b/apps/files_sharing/src/additionalScripts.js index 6f07f7170ca..a91a84b5f91 100644 --- a/apps/files_sharing/src/additionalScripts.js +++ b/apps/files_sharing/src/additionalScripts.js @@ -24,13 +24,9 @@ import './share' import './sharebreadcrumbview' - import './style/sharebreadcrumb.scss' - import './collaborationresourceshandler.js' -// eslint-disable-next-line camelcase -__webpack_public_path__ = OC.linkTo('files_sharing', 'js/dist/') // eslint-disable-next-line camelcase __webpack_nonce__ = btoa(OC.requestToken) diff --git a/apps/files_sharing/src/collaborationresourceshandler.js b/apps/files_sharing/src/collaborationresourceshandler.js index 91558add383..cdbd603d4c7 100644 --- a/apps/files_sharing/src/collaborationresourceshandler.js +++ b/apps/files_sharing/src/collaborationresourceshandler.js @@ -21,8 +21,6 @@ * */ -// eslint-disable-next-line camelcase -__webpack_public_path__ = OC.linkTo('files_sharing', 'js/dist/') // eslint-disable-next-line camelcase __webpack_nonce__ = btoa(OC.requestToken) diff --git a/apps/files_sharing/src/files_sharing.js b/apps/files_sharing/src/files_sharing.js index 1967006dd47..03ea2c739f7 100644 --- a/apps/files_sharing/src/files_sharing.js +++ b/apps/files_sharing/src/files_sharing.js @@ -23,9 +23,3 @@ import '../js/app' import '../js/sharedfilelist' - -// eslint-disable-next-line camelcase -__webpack_nonce__ = btoa(OC.requestToken) - -// eslint-disable-next-line camelcase -__webpack_public_path__ = OC.linkTo('files_sharing', 'js/dist/') diff --git a/apps/files_sharing/src/personal-settings.js b/apps/files_sharing/src/personal-settings.js index fb36e022c0d..9f27b7bf5a1 100644 --- a/apps/files_sharing/src/personal-settings.js +++ b/apps/files_sharing/src/personal-settings.js @@ -21,39 +21,13 @@ * */ -// global t - -/* - * @copyright 2019 Christoph Wurst - * - * @author 2019 Christoph Wurst - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - import Vue from 'vue' import { getRequestToken } from '@nextcloud/auth' -import { generateFilePath } from '@nextcloud/router' import PersonalSettings from './components/PersonalSettings' // eslint-disable-next-line camelcase __webpack_nonce__ = btoa(getRequestToken()) -// eslint-disable-next-line camelcase -__webpack_public_path__ = generateFilePath('files', '', 'js/') Vue.prototype.t = t -- cgit v1.2.3