diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-02-03 19:56:44 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-02-13 22:20:07 +0100 |
commit | 7f886541473fb73591a8930e322250cdc6496bfc (patch) | |
tree | c0025ae7b41bece3a8c6897a093f5ceb6d5d57f7 /apps/files_versions/js/filesplugin.js | |
parent | 53e8957a556af086ce66b8eba45f0013391d7f0d (diff) | |
download | nextcloud-server-7f886541473fb73591a8930e322250cdc6496bfc.tar.gz nextcloud-server-7f886541473fb73591a8930e322250cdc6496bfc.zip |
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 <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_versions/js/filesplugin.js')
-rw-r--r-- | apps/files_versions/js/filesplugin.js | 34 |
1 files changed, 0 insertions, 34 deletions
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); - |