diff options
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r-- | apps/files/js/files.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 4de3fb4352f..03778fb92f9 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -219,7 +219,7 @@ * Returns the download URL of the given file(s) * @param {string} filename string or array of file names to download * @param {string} [dir] optional directory in which the file name is, defaults to the current directory - * @param {bool} [isDir=false] whether the given filename is a directory and might need a special URL + * @param {boolean} [isDir=false] whether the given filename is a directory and might need a special URL */ getDownloadUrl: function(filename, dir, isDir) { if (!_.isArray(filename) && !isDir) { @@ -271,8 +271,8 @@ /** * Generates a preview URL based on the URL space. * @param urlSpec attributes for the URL - * @param {int} urlSpec.x width - * @param {int} urlSpec.y height + * @param {number} urlSpec.x width + * @param {number} urlSpec.y height * @param {String} urlSpec.file path to the file * @return preview URL * @deprecated used OCA.Files.FileList.generatePreviewUrl instead |