diff --git a/.eslintignore b/.eslintignore index 6dddc5380b..f8d8b5a2bc 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,4 +4,5 @@ node_modules/ **/vendor/ **/l10n/ **/js/* -*.config.js \ No newline at end of file +*.config.js +tests/lib/ diff --git a/apps/comments/src/comments.js b/apps/comments/src/comments.js index 3d7f52f4e7..75bb97138c 100644 --- a/apps/comments/src/comments.js +++ b/apps/comments/src/comments.js @@ -1,5 +1,4 @@ import './app' -import './templates' import './filesplugin' import './activitytabviewplugin' diff --git a/apps/comments/src/templates.js b/apps/comments/src/templates.js deleted file mode 100644 index 26ca658c77..0000000000 --- a/apps/comments/src/templates.js +++ /dev/null @@ -1,123 +0,0 @@ -(function() { - var template = Handlebars.template, templates = OCA.Comments.Templates = OCA.Comments.Templates || {}; -templates['comment'] = template({"1":function(container,depth0,helpers,partials,data) { - return " unread"; -},"3":function(container,depth0,helpers,partials,data) { - return " collapsed"; -},"5":function(container,depth0,helpers,partials,data) { - return " currentUser"; -},"7":function(container,depth0,helpers,partials,data) { - var helper; - - return "data-username=\"" - + container.escapeExpression(((helper = (helper = helpers.actorId || (depth0 != null ? depth0.actorId : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"actorId","hash":{},"data":data}) : helper))) - + "\""; -},"9":function(container,depth0,helpers,partials,data) { - return " \n
\n"; -},"11":function(container,depth0,helpers,partials,data) { - return " \n"; -},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { - var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; - - return "" - + alias4(((helper = (helper = helpers.emptyResultLabel || (depth0 != null ? depth0.emptyResultLabel : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"emptyResultLabel","hash":{},"data":data}) : helper))) - + "
diff --git a/apps/files_sharing/src/views/CollaborationView.vue b/apps/files_sharing/src/views/CollaborationView.vue index 5cfcd299cc..a3249f8b5c 100644 --- a/apps/files_sharing/src/views/CollaborationView.vue +++ b/apps/files_sharing/src/views/CollaborationView.vue @@ -33,7 +33,7 @@ import { CollectionList } from 'nextcloud-vue-collections' export default { name: 'CollaborationView', components: { - CollectionList + CollectionList, }, computed: { fileId() { @@ -47,7 +47,7 @@ export default { return '' + this.$root.model.name } return '' - } - } + }, + }, } diff --git a/apps/files_sharing/webpack.js b/apps/files_sharing/webpack.js index a05e1b9d15..ed1d28fe4d 100644 --- a/apps/files_sharing/webpack.js +++ b/apps/files_sharing/webpack.js @@ -1,12 +1,12 @@ -const path = require('path'); +const path = require('path') module.exports = { entry: { - 'additionalScripts': path.join(__dirname, 'src', 'additionalScripts.js'), - 'collaboration': path.join(__dirname, 'src', 'collaborationresourceshandler.js'), - 'files_sharing_tab': path.join(__dirname, 'src', 'files_sharing_tab.js'), - 'files_sharing': path.join(__dirname, 'src', 'files_sharing.js'), - 'main': path.join(__dirname, 'src', 'index.js'), + additionalScripts: path.join(__dirname, 'src', 'additionalScripts.js'), + collaboration: path.join(__dirname, 'src', 'collaborationresourceshandler.js'), + files_sharing_tab: path.join(__dirname, 'src', 'files_sharing_tab.js'), + files_sharing: path.join(__dirname, 'src', 'files_sharing.js'), + main: path.join(__dirname, 'src', 'index.js'), 'personal-settings': path.join(__dirname, 'src', 'personal-settings.js'), }, output: { @@ -14,6 +14,6 @@ module.exports = { publicPath: '/js/', filename: '[name].js', chunkFilename: 'files_sharing.[id].js?v=[chunkhash]', - jsonpFunction: 'webpackJsonpFilesSharing' - } + jsonpFunction: 'webpackJsonpFilesSharing', + }, } diff --git a/apps/files_trashbin/webpack.js b/apps/files_trashbin/webpack.js index 1856c08ae8..efe4330ef0 100644 --- a/apps/files_trashbin/webpack.js +++ b/apps/files_trashbin/webpack.js @@ -6,6 +6,6 @@ module.exports = { path: path.resolve(__dirname, './js'), publicPath: '/js/', filename: 'files_trashbin.js', - jsonpFunction: 'webpackJsonpFilesTrashbin' - } + jsonpFunction: 'webpackJsonpFilesTrashbin', + }, } diff --git a/apps/files_versions/webpack.js b/apps/files_versions/webpack.js index 8d02db2d73..89d545b738 100644 --- a/apps/files_versions/webpack.js +++ b/apps/files_versions/webpack.js @@ -6,6 +6,6 @@ module.exports = { path: path.resolve(__dirname, 'js'), publicPath: '/js/', filename: 'files_versions.js', - jsonpFunction: 'webpackJsonpFilesVersions' - } + jsonpFunction: 'webpackJsonpFilesVersions', + }, } diff --git a/apps/oauth2/src/App.vue b/apps/oauth2/src/App.vue index 86243b63ee..ce3c8d9509 100644 --- a/apps/oauth2/src/App.vue +++ b/apps/oauth2/src/App.vue @@ -28,9 +28,7 @@
- - | +diff --git a/apps/oauth2/webpack.js b/apps/oauth2/webpack.js index 23b9b76b31..f8f65bc94d 100644 --- a/apps/oauth2/webpack.js +++ b/apps/oauth2/webpack.js @@ -6,6 +6,6 @@ module.exports = { path: path.resolve(__dirname, './js'), publicPath: '/js', filename: 'oauth2.js', - jsonpFunction: 'webpackJsonpOauth' - } + jsonpFunction: 'webpackJsonpOauth', + }, } diff --git a/apps/settings/src/components/popoverMenu.vue b/apps/settings/src/components/popoverMenu.vue deleted file mode 100644 index dd9a29cc9f..0000000000 --- a/apps/settings/src/components/popoverMenu.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - |
---|