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

Rename some variables.

This commit is contained in:
Brendan Dahl 2011-12-19 16:31:47 -08:00
parent db4a11e568
commit 5cfe97611f
2 changed files with 8 additions and 8 deletions

View file

@ -167,12 +167,12 @@ var PDFImage = (function PDFImageClosure() {
};
PDFImage.prototype = {
get maxWidth() {
get drawWidth() {
if (!this.smask)
return this.width;
return Math.max(this.width, this.smask.width);
},
get maxHeight() {
get drawHeight() {
if (!this.smask)
return this.height;
return Math.max(this.height, this.smask.height);