diff options
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) { |