aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2019-10-01 17:20:49 +0200
committerGitHub <noreply@github.com>2019-10-01 17:20:49 +0200
commit7dc5bbae39413e3986bbc35ad512582f073143cb (patch)
tree594bd3e5619d3876258ed21e71826fbd5af487a5 /apps/files
parent6a2e2cfdf1cc805ebf852a8ca8abaafa2e5597b9 (diff)
parentb9bc2417e7a8dc81feb0abe20359bedaf864f790 (diff)
downloadnextcloud-server-7dc5bbae39413e3986bbc35ad512582f073143cb.tar.gz
nextcloud-server-7dc5bbae39413e3986bbc35ad512582f073143cb.zip
Merge pull request #17263 from nextcloud/enhancement/eslint
Add eslint global nextcloud config
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/file-upload.js10
-rw-r--r--apps/files/js/files.js2
2 files changed, 6 insertions, 6 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js
index 8db23fca3b5..c63c1e31522 100644
--- a/apps/files/js/file-upload.js
+++ b/apps/files/js/file-upload.js
@@ -727,11 +727,11 @@ OC.Uploader.prototype = _.extend({
*
* @param {array} selection of files to upload
* @param {object} callbacks - object with several callback methods
- * @param {function} callbacks.onNoConflicts
- * @param {function} callbacks.onSkipConflicts
- * @param {function} callbacks.onReplaceConflicts
- * @param {function} callbacks.onChooseConflicts
- * @param {function} callbacks.onCancel
+ * @param {Function} callbacks.onNoConflicts
+ * @param {Function} callbacks.onSkipConflicts
+ * @param {Function} callbacks.onReplaceConflicts
+ * @param {Function} callbacks.onChooseConflicts
+ * @param {Function} callbacks.onCancel
*/
checkExistingFiles: function (selection, callbacks) {
var fileList = this.fileList;
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index b46aeb26eee..395b2a53c10 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -336,7 +336,7 @@
* - JS periodically checks for this cookie and then knows when the download has started to call the callback
*
* @param {string} url download URL
- * @param {function} callback function to call once the download has started
+ * @param {Function} callback function to call once the download has started
*/
handleDownload: function(url, callback) {
var randomToken = Math.random().toString(36).substring(2),