fix a couple more shadowings
This commit is contained in:
parent
f4bb211283
commit
db6f072507
10
pdf.js
10
pdf.js
@ -1795,16 +1795,16 @@ var Page = (function() {
|
|||||||
|
|
||||||
constructor.prototype = {
|
constructor.prototype = {
|
||||||
get contents() {
|
get contents() {
|
||||||
return this.contents = this.pageDict.get("Contents");
|
return shadow(this, "contents", this.pageDict.get("Contents"));
|
||||||
},
|
},
|
||||||
get resources() {
|
get resources() {
|
||||||
return this.resources = this.pageDict.get("Resources");
|
return shadow(this, "resources", this.pageDict.get("Resources"));
|
||||||
},
|
},
|
||||||
get mediaBox() {
|
get mediaBox() {
|
||||||
var obj = this.pageDict.get("MediaBox");
|
var obj = this.pageDict.get("MediaBox");
|
||||||
return this.mediaBox = ((IsArray(obj) && obj.length == 4)
|
return shadow(this, "mediaBox", ((IsArray(obj) && obj.length == 4)
|
||||||
? obj
|
? obj
|
||||||
: null);
|
: null));
|
||||||
},
|
},
|
||||||
display: function(gfx) {
|
display: function(gfx) {
|
||||||
var xref = this.xref;
|
var xref = this.xref;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user