diff options
author | Louis <6653109+artonge@users.noreply.github.com> | 2022-01-12 15:48:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 15:48:36 +0100 |
commit | 2e1491771e47eb02d297215eba6e6ce0019fc9c1 (patch) | |
tree | f327c9ae125cbddd86a1da588b3562d08b3bbe65 /apps/files_versions | |
parent | db9fbc93072049b8816a683ca015ba53976db03a (diff) | |
parent | bfdfafde79a17b1683467c800cf2a63ba14fb1a0 (diff) | |
download | nextcloud-server-2e1491771e47eb02d297215eba6e6ce0019fc9c1.tar.gz nextcloud-server-2e1491771e47eb02d297215eba6e6ce0019fc9c1.zip |
Merge pull request #30572 from nextcloud/fix/lint_warnings
Fix lint warnings
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/src/files_versions.js | 2 | ||||
-rw-r--r-- | apps/files_versions/src/filesplugin.js | 2 | ||||
-rw-r--r-- | apps/files_versions/src/versioncollection.js | 2 | ||||
-rw-r--r-- | apps/files_versions/src/versionmodel.js | 2 | ||||
-rw-r--r-- | apps/files_versions/src/versionstabview.js | 4 | ||||
-rw-r--r-- | apps/files_versions/tests/js/versioncollectionSpec.js | 2 | ||||
-rw-r--r-- | apps/files_versions/tests/js/versionmodelSpec.js | 2 | ||||
-rw-r--r-- | apps/files_versions/tests/js/versionstabviewSpec.js | 4 |
8 files changed, 10 insertions, 10 deletions
diff --git a/apps/files_versions/src/files_versions.js b/apps/files_versions/src/files_versions.js index 04436174446..9f4ccc2c1bf 100644 --- a/apps/files_versions/src/files_versions.js +++ b/apps/files_versions/src/files_versions.js @@ -3,7 +3,7 @@ * * @author Roeland Jago Douma <roeland@famdouma.nl> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files_versions/src/filesplugin.js b/apps/files_versions/src/filesplugin.js index 69ebcc58c47..90dac2024c1 100644 --- a/apps/files_versions/src/filesplugin.js +++ b/apps/files_versions/src/filesplugin.js @@ -4,7 +4,7 @@ * @author John Molakvoæ <skjnldsv@protonmail.com> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files_versions/src/versioncollection.js b/apps/files_versions/src/versioncollection.js index 9ed1c7fa86b..592b4f8cda2 100644 --- a/apps/files_versions/src/versioncollection.js +++ b/apps/files_versions/src/versioncollection.js @@ -5,7 +5,7 @@ * @author Robin Appelman <robin@icewind.nl> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files_versions/src/versionmodel.js b/apps/files_versions/src/versionmodel.js index 06f55d6fa47..01914f702e2 100644 --- a/apps/files_versions/src/versionmodel.js +++ b/apps/files_versions/src/versionmodel.js @@ -5,7 +5,7 @@ * @author Robin Appelman <robin@icewind.nl> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files_versions/src/versionstabview.js b/apps/files_versions/src/versionstabview.js index 6adc3e61a18..9f76755a582 100644 --- a/apps/files_versions/src/versionstabview.js +++ b/apps/files_versions/src/versionstabview.js @@ -9,7 +9,7 @@ * @author Robin Appelman <robin@icewind.nl> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -215,7 +215,7 @@ import Template from './templates/template.handlebars'; * Returns true for files, false for folders. * * @param {FileInfo} fileInfo fileInfo - * @return {bool} true for files, false for folders + * @return {boolean} true for files, false for folders */ canDisplay(fileInfo) { if (!fileInfo) { diff --git a/apps/files_versions/tests/js/versioncollectionSpec.js b/apps/files_versions/tests/js/versioncollectionSpec.js index 457de6c1aa4..672515146b7 100644 --- a/apps/files_versions/tests/js/versioncollectionSpec.js +++ b/apps/files_versions/tests/js/versioncollectionSpec.js @@ -4,7 +4,7 @@ * @author Robin Appelman <robin@icewind.nl> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files_versions/tests/js/versionmodelSpec.js b/apps/files_versions/tests/js/versionmodelSpec.js index 9b2d1298bca..d4b7bec43ae 100644 --- a/apps/files_versions/tests/js/versionmodelSpec.js +++ b/apps/files_versions/tests/js/versionmodelSpec.js @@ -5,7 +5,7 @@ * @author Robin Appelman <robin@icewind.nl> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/files_versions/tests/js/versionstabviewSpec.js b/apps/files_versions/tests/js/versionstabviewSpec.js index 7194cd428ee..f7bec0ab1b5 100644 --- a/apps/files_versions/tests/js/versionstabviewSpec.js +++ b/apps/files_versions/tests/js/versionstabviewSpec.js @@ -7,7 +7,7 @@ * @author Roeland Jago Douma <roeland@famdouma.nl> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -137,7 +137,7 @@ describe('OCA.Versions.VersionsTabView', function() { tabView.setFileInfo(fileInfoModel); tabView.collection.set(testVersions); }); - + afterEach(function() { revertStub.restore(); }); |