diff options
author | Louis Chemineau <louis@chmn.me> | 2022-01-10 14:06:28 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-01-11 17:12:55 +0100 |
commit | d92cbf51493f0aa15745d2f9545cba2372eecec3 (patch) | |
tree | 349a555a74c99b40c20fcc470c26b7f7c0029f8d /apps/files/js/file-upload.js | |
parent | 7484abb6c07f2296abc2040ecd747ddf1d65e98e (diff) | |
download | nextcloud-server-d92cbf51493f0aa15745d2f9545cba2372eecec3.tar.gz nextcloud-server-d92cbf51493f0aa15745d2f9545cba2372eecec3.zip |
Typing corrections
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/files/js/file-upload.js')
-rw-r--r-- | apps/files/js/file-upload.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index 7ab88ed61bd..9f51f05d561 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -163,7 +163,7 @@ OC.FileUpload.prototype = { /** * Returns conflict resolution mode. * - * @return {int} conflict mode + * @return {number} conflict mode */ getConflictMode: function() { return this._conflictMode || OC.FileUpload.CONFLICT_MODE_DETECT; @@ -173,7 +173,7 @@ OC.FileUpload.prototype = { * Set conflict resolution mode. * See CONFLICT_MODE_* constants. * - * @param {int} mode conflict mode + * @param {number} mode conflict mode */ setConflictMode: function(mode) { this._conflictMode = mode; @@ -383,7 +383,7 @@ OC.FileUpload.prototype = { /** * Returns the status code from the response * - * @return {int} status code + * @return {number} status code */ getResponseStatus: function() { if (this.uploader.isXHRUpload()) { @@ -515,7 +515,7 @@ OC.Uploader.prototype = _.extend({ /** * Returns whether an XHR upload will be used * - * @return {bool} true if XHR upload will be used, + * @return {boolean} true if XHR upload will be used, * false for iframe upload */ isXHRUpload: function () { @@ -656,7 +656,7 @@ OC.Uploader.prototype = _.extend({ /** * Returns an upload by id * - * @param {int} data uploadId + * @param {number} data uploadId * @return {OC.FileUpload} file upload */ getUpload: function(data) { @@ -860,7 +860,7 @@ OC.Uploader.prototype = _.extend({ * Returns whether the given file is known to be a received shared file * * @param {Object} file file - * @return {bool} true if the file is a shared file + * @return {boolean} true if the file is a shared file */ _isReceivedSharedFile: function(file) { if (!window.FileList) { |