From 7f886541473fb73591a8930e322250cdc6496bfc Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Sun, 3 Feb 2019 19:56:44 +0100 Subject: Move of files_versions to webpack * Move CSS into bundle * Old merged.json no longer needed! * No need to load the style still Signed-off-by: Roeland Jago Douma --- apps/files_versions/js/filesplugin.js | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 apps/files_versions/js/filesplugin.js (limited to 'apps/files_versions/js/filesplugin.js') diff --git a/apps/files_versions/js/filesplugin.js b/apps/files_versions/js/filesplugin.js deleted file mode 100644 index a9457c522d6..00000000000 --- a/apps/files_versions/js/filesplugin.js +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) 2015 - * - * This file is licensed under the Affero General Public License version 3 - * or later. - * - * See the COPYING-README file. - * - */ - -(function() { - OCA.Versions = OCA.Versions || {}; - - /** - * @namespace - */ - OCA.Versions.Util = { - /** - * Initialize the versions plugin. - * - * @param {OCA.Files.FileList} fileList file list to be extended - */ - attach: function(fileList) { - if (fileList.id === 'trashbin' || fileList.id === 'files.public') { - return; - } - - fileList.registerTabView(new OCA.Versions.VersionsTabView('versionsTabView', {order: -10})); - } - }; -})(); - -OC.Plugins.register('OCA.Files.FileList', OCA.Versions.Util); - -- cgit v1.2.3