1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Use strict and expose in build version

This commit is contained in:
Saebekassebil 2012-03-28 20:07:37 +02:00
parent 102469d20c
commit 10fb0dc383
2 changed files with 4 additions and 2 deletions

View file

@ -506,7 +506,7 @@ var PDFView = {
var pdfTitle;
if (metadata) {
this.metadata = metadata = new Metadata(metadata);
this.metadata = metadata = new PDFJS.Metadata(metadata);
if (metadata.has('dc:title'))
pdfTitle = metadata.get('dc:title');