1
0
Fork 0
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:
Jonas Jenwald 2014-05-18 23:35:29 +02:00
parent c0419d7dea
commit a984fe5b55
2 changed files with 19 additions and 1 deletions

View file

@ -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');