aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/src/filesplugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_versions/src/filesplugin.js')
-rw-r--r--apps/files_versions/src/filesplugin.js13
1 files changed, 6 insertions, 7 deletions
diff --git a/apps/files_versions/src/filesplugin.js b/apps/files_versions/src/filesplugin.js
index a9457c522d6..e47003d6611 100644
--- a/apps/files_versions/src/filesplugin.js
+++ b/apps/files_versions/src/filesplugin.js
@@ -9,7 +9,7 @@
*/
(function() {
- OCA.Versions = OCA.Versions || {};
+ OCA.Versions = OCA.Versions || {}
/**
* @namespace
@@ -22,13 +22,12 @@
*/
attach: function(fileList) {
if (fileList.id === 'trashbin' || fileList.id === 'files.public') {
- return;
+ return
}
- fileList.registerTabView(new OCA.Versions.VersionsTabView('versionsTabView', {order: -10}));
+ fileList.registerTabView(new OCA.Versions.VersionsTabView('versionsTabView', { order: -10 }))
}
- };
-})();
-
-OC.Plugins.register('OCA.Files.FileList', OCA.Versions.Util);
+ }
+})()
+OC.Plugins.register('OCA.Files.FileList', OCA.Versions.Util)