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

Merge pull request #12838 from calixteman/authors

[api-minor] Change the "dc:creator" Metadata field to an Array
This commit is contained in:
calixteman 2021-01-12 02:44:58 -08:00 committed by GitHub
commit 1de1ae0be6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 97 additions and 33 deletions

View file

@ -1656,7 +1656,8 @@ const PDFViewerApplication = {
baseURL: this.baseUrl,
filesize: this._contentLength,
filename: this._docFilename,
metadata: this.metadata,
metadata: this.metadata?.getRaw(),
authors: this.metadata?.get("dc:creator"),
numPages: pdfDocument.numPages,
URL: this.url,
actions: docActions,