Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis <6653109+artonge@users.noreply.github.com>2022-01-12 17:48:36 +0300
committerGitHub <noreply@github.com>2022-01-12 17:48:36 +0300
commit2e1491771e47eb02d297215eba6e6ce0019fc9c1 (patch)
treef327c9ae125cbddd86a1da588b3562d08b3bbe65 /apps/systemtags
parentdb9fbc93072049b8816a683ca015ba53976db03a (diff)
parentbfdfafde79a17b1683467c800cf2a63ba14fb1a0 (diff)
Merge pull request #30572 from nextcloud/fix/lint_warnings
Fix lint warnings
Diffstat (limited to 'apps/systemtags')
-rw-r--r--apps/systemtags/js/admin.js4
-rw-r--r--apps/systemtags/src/app.js2
-rw-r--r--apps/systemtags/src/filesplugin.js2
-rw-r--r--apps/systemtags/src/systemtags.js2
-rw-r--r--apps/systemtags/src/systemtagsfilelist.js4
-rw-r--r--apps/systemtags/src/systemtagsinfoview.js6
-rw-r--r--apps/systemtags/tests/js/systemtagsfilelistSpec.js2
-rw-r--r--apps/systemtags/tests/js/systemtagsinfoviewSpec.js4
8 files changed, 13 insertions, 13 deletions
diff --git a/apps/systemtags/js/admin.js b/apps/systemtags/js/admin.js
index 2409cb488de..b8bcbb51e6f 100644
--- a/apps/systemtags/js/admin.js
+++ b/apps/systemtags/js/admin.js
@@ -2,7 +2,7 @@
* @copyright Copyright (c) 2016 Joas Schilling <coding@schilljs.com>
* @copyright Copyright (c) 2019 Gary Kim <gary@garykim.dev>
*
- * @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
@@ -122,7 +122,7 @@
/**
* Prepare the form for create/update
*
- * @param {int} tagId
+ * @param {number} tagId
*/
_prepareForm: function (tagId) {
if (tagId > 0) {
diff --git a/apps/systemtags/src/app.js b/apps/systemtags/src/app.js
index 2cfba2a4ce7..b5f75c0e7db 100644
--- a/apps/systemtags/src/app.js
+++ b/apps/systemtags/src/app.js
@@ -6,7 +6,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/systemtags/src/filesplugin.js b/apps/systemtags/src/filesplugin.js
index 39e20cefa13..067a059093e 100644
--- a/apps/systemtags/src/filesplugin.js
+++ b/apps/systemtags/src/filesplugin.js
@@ -5,7 +5,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/systemtags/src/systemtags.js b/apps/systemtags/src/systemtags.js
index c19f3884c72..bde632fb142 100644
--- a/apps/systemtags/src/systemtags.js
+++ b/apps/systemtags/src/systemtags.js
@@ -4,7 +4,7 @@
* @author John Molakvoæ <skjnldsv@protonmail.com>
* @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/systemtags/src/systemtagsfilelist.js b/apps/systemtags/src/systemtagsfilelist.js
index 4821f140222..e3991da1981 100644
--- a/apps/systemtags/src/systemtagsfilelist.js
+++ b/apps/systemtags/src/systemtagsfilelist.js
@@ -5,7 +5,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
@@ -48,7 +48,7 @@
/**
* Array of system tag ids to filter by
*
- * @type Array.<string>
+ * @type {Array.<string>}
*/
_systemTagIds: [],
_lastUsedTags: [],
diff --git a/apps/systemtags/src/systemtagsinfoview.js b/apps/systemtags/src/systemtagsinfoview.js
index b2a11fbc959..b9a55a8e283 100644
--- a/apps/systemtags/src/systemtagsinfoview.js
+++ b/apps/systemtags/src/systemtagsinfoview.js
@@ -7,7 +7,7 @@
* @author Julius Härtl <jus@bitgrid.net>
* @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
@@ -27,7 +27,7 @@
(function(OCA) {
/**
- * @param model
+ * @param {any} model -
*/
function modelToSelection(model) {
const data = model.toJSON()
@@ -56,7 +56,7 @@
id: 'systemTagsInfoView',
/**
- * @type OC.SystemTags.SystemTagsInputField
+ * @type {OC.SystemTags.SystemTagsInputField}
*/
_inputView: null,
diff --git a/apps/systemtags/tests/js/systemtagsfilelistSpec.js b/apps/systemtags/tests/js/systemtagsfilelistSpec.js
index e09aa745f1a..2c775466de4 100644
--- a/apps/systemtags/tests/js/systemtagsfilelistSpec.js
+++ b/apps/systemtags/tests/js/systemtagsfilelistSpec.js
@@ -4,7 +4,7 @@
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @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/systemtags/tests/js/systemtagsinfoviewSpec.js b/apps/systemtags/tests/js/systemtagsinfoviewSpec.js
index bbda8ced30e..5c4b5bf6bd1 100644
--- a/apps/systemtags/tests/js/systemtagsinfoviewSpec.js
+++ b/apps/systemtags/tests/js/systemtagsinfoviewSpec.js
@@ -5,7 +5,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
@@ -199,7 +199,7 @@ describe('OCA.SystemTags.SystemTagsInfoView tests', function() {
expect(view.selectedTagsCollection.get('3')).not.toBeFalsy();
allTagsCollection.remove('3');
-
+
expect(view.selectedTagsCollection.get('3')).toBeFalsy();
});