diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-12-02 18:32:57 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-08 10:14:05 +0100 |
commit | 74b980310852a0b406fa9d073870f92c409d5444 (patch) | |
tree | 055cbdf57886077bf3a6ea476813deedb54064e0 /core/src/OC/index.js | |
parent | 85bc8513557f5ff37fc283d53893d4cb77ec7c3b (diff) | |
download | nextcloud-server-74b980310852a0b406fa9d073870f92c409d5444.tar.gz nextcloud-server-74b980310852a0b406fa9d073870f92c409d5444.zip |
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src/OC/index.js')
-rw-r--r-- | core/src/OC/index.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/core/src/OC/index.js b/core/src/OC/index.js index ebf9171bada..7f811c51a56 100644 --- a/core/src/OC/index.js +++ b/core/src/OC/index.js @@ -133,8 +133,9 @@ export default { */ /** * Check if a user file is allowed to be handled. + * * @param {string} file to check - * @returns {Boolean} + * @return {boolean} * @deprecated 17.0.0 */ fileIsBlacklisted: file => !!(file.match(Config.blacklist_files_regex)), @@ -171,6 +172,7 @@ export default { /** * Ajax error handlers + * * @todo remove from here and keep internally -> requires new tests */ _ajaxConnectionLostHandler: ajaxConnectionLostHandler, @@ -234,7 +236,7 @@ export default { /** * Loads translations for the given app asynchronously. * - * @param {String} app app name + * @param {string} app app name * @param {Function} callback callback to call after loading * @return {Promise} * @deprecated 17.0.0 use OC.L10N.load instead @@ -286,9 +288,9 @@ export default { */ linkTo, /** - * @param {String} service service name - * @param {Number} version OCS API version - * @returns {String} OCS API base path + * @param {string} service service name + * @param {number} version OCS API version + * @return {string} OCS API base path * @deprecated 19.0.0 use `generateOcsUrl` from https://www.npmjs.com/package/@nextcloud/router */ linkToOCS: (service, version) => { |