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

fix to follow syntax style guidelines

This commit is contained in:
Saebekassebil 2012-03-27 22:32:35 +02:00
parent 2bb5a9e545
commit e6277784f1
2 changed files with 5 additions and 8 deletions

View file

@ -596,9 +596,8 @@ var PDFDocModel = (function PDFDocModelClosure() {
},
getDocumentInfo: function pdfDocGetDocumentInfo() {
var info;
if (this.xref.trailer.has('Info')) {
if (this.xref.trailer.has('Info'))
info = this.xref.fetch(this.xref.trailer.get('Info'));
}
return shadow(this, 'getDocumentInfo', info);
},