diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-09-25 19:19:42 +0300 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-10-01 18:16:09 +0300 |
commit | b9bc2417e7a8dc81feb0abe20359bedaf864f790 (patch) | |
tree | 61b47fbf37c1d168da8625224debde9e6a985348 /apps/files_versions/src/filesplugin.js | |
parent | 7fb651235128dcbca8a6683b5cdafdf835f46300 (diff) |
Comply to eslint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_versions/src/filesplugin.js')
-rw-r--r-- | apps/files_versions/src/filesplugin.js | 13 |
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) |