mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-02-08 00:21:11 +01:00
lint..
This commit is contained in:
parent
20dd225e40
commit
9dbcc74d41
@ -123,7 +123,7 @@ var Catalog = (function CatalogClosure() {
|
||||
var type = dict.get('Type');
|
||||
var subtype = dict.get('Subtype');
|
||||
|
||||
if(isName(type) && isName(subtype) &&
|
||||
if (isName(type) && isName(subtype) &&
|
||||
type.name === 'Metadata' && subtype.name === 'XML') {
|
||||
var metadata = stringToPDFString(bytesToString(stream.getbytes()));
|
||||
return metadata;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user