diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-12-02 20:32:57 +0300 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-08 12:14:05 +0300 |
commit | 74b980310852a0b406fa9d073870f92c409d5444 (patch) | |
tree | 055cbdf57886077bf3a6ea476813deedb54064e0 /apps/files_versions/src | |
parent | 85bc8513557f5ff37fc283d53893d4cb77ec7c3b (diff) |
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_versions/src')
-rw-r--r-- | apps/files_versions/src/versioncollection.js | 2 | ||||
-rw-r--r-- | apps/files_versions/src/versionmodel.js | 4 | ||||
-rw-r--r-- | apps/files_versions/src/versionstabview.js | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/apps/files_versions/src/versioncollection.js b/apps/files_versions/src/versioncollection.js index a5339fc6459..9ed1c7fa86b 100644 --- a/apps/files_versions/src/versioncollection.js +++ b/apps/files_versions/src/versioncollection.js @@ -31,7 +31,7 @@ sync: OC.Backbone.davSync, /** - * @var OCA.Files.FileInfoModel + * @member OCA.Files.FileInfoModel */ _fileInfo: null, diff --git a/apps/files_versions/src/versionmodel.js b/apps/files_versions/src/versionmodel.js index ca1c4716b05..06f55d6fa47 100644 --- a/apps/files_versions/src/versionmodel.js +++ b/apps/files_versions/src/versionmodel.js @@ -38,8 +38,8 @@ /** * Restores the original file to this revision * - * @param {Object} [options] options - * @returns {Promise} + * @param {object} [options] options + * @return {Promise} */ revert(options) { options = options ? _.clone(options) : {} diff --git a/apps/files_versions/src/versionstabview.js b/apps/files_versions/src/versionstabview.js index 7ae5ad0fb2f..6adc3e61a18 100644 --- a/apps/files_versions/src/versionstabview.js +++ b/apps/files_versions/src/versionstabview.js @@ -213,8 +213,9 @@ import Template from './templates/template.handlebars'; /** * Returns true for files, false for folders. + * * @param {FileInfo} fileInfo fileInfo - * @returns {bool} true for files, false for folders + * @return {bool} true for files, false for folders */ canDisplay(fileInfo) { if (!fileInfo) { |