mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Add more unit tests for the API
This commit is contained in:
parent
c0419d7dea
commit
a984fe5b55
2 changed files with 19 additions and 1 deletions
|
@ -449,7 +449,7 @@ var Catalog = (function CatalogClosure() {
|
|||
},
|
||||
get attachments() {
|
||||
var xref = this.xref;
|
||||
var attachments, nameTreeRef;
|
||||
var attachments = null, nameTreeRef;
|
||||
var obj = this.catDict.get('Names');
|
||||
if (obj) {
|
||||
nameTreeRef = obj.getRaw('EmbeddedFiles');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue