Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-01-10 16:06:28 +0300
committerLouis Chemineau <louis@chmn.me>2022-01-11 19:12:55 +0300
commitd92cbf51493f0aa15745d2f9545cba2372eecec3 (patch)
tree349a555a74c99b40c20fcc470c26b7f7c0029f8d /apps/files/js/file-upload.js
parent7484abb6c07f2296abc2040ecd747ddf1d65e98e (diff)
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.js12
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) {