mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
ESLint --fix
This commit is contained in:
parent
80d7ff4912
commit
ef1f255649
13 changed files with 47 additions and 47 deletions
|
@ -59,8 +59,8 @@ jpegImage.parse(typedArrayImage);
|
|||
|
||||
var width = jpegImage.width, height = jpegImage.height;
|
||||
var jpegData = jpegImage.getData({
|
||||
width,
|
||||
height,
|
||||
width: width,
|
||||
height: height,
|
||||
forceRGB: true,
|
||||
});
|
||||
|
||||
|
@ -76,4 +76,3 @@ for (var i = 0, j = 0, ii = width * height * 4; i < ii;) {
|
|||
}
|
||||
jpegCanvas.width = width, jpegCanvas.height = height;
|
||||
jpegCtx.putImageData(imageData, 0, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue