1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 01:58:06 +02:00

Consistently use number for numeric data types in JSDoc comments

Sometimes we also used `Number` and `integer`, but `number` is what
the JSDoc documentation recommends.
This commit is contained in:
Tim van der Meij 2019-10-12 15:54:17 +02:00
parent ff37cdb5d7
commit e75991b49e
No known key found for this signature in database
GPG key ID: 8C3FD2925A5F2762
5 changed files with 16 additions and 16 deletions

View file

@ -49,11 +49,11 @@ var PDFImage = (function PDFImageClosure() {
/**
* Resizes an image mask with 1 component.
* @param {TypedArray} src - The source buffer.
* @param {Number} bpc - Number of bits per component.
* @param {Number} w1 - Original width.
* @param {Number} h1 - Original height.
* @param {Number} w2 - New width.
* @param {Number} h2 - New height.
* @param {number} bpc - Number of bits per component.
* @param {number} w1 - Original width.
* @param {number} h1 - Original height.
* @param {number} w2 - New width.
* @param {number} h2 - New height.
* @returns {TypedArray} The resized image mask buffer.
*/
function resizeImageMask(src, bpc, w1, h1, w2, h2) {