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 #12631 from calixteman/app

JS -- Implement app object
This commit is contained in:
Brendan Dahl 2020-12-01 16:50:16 -08:00 committed by GitHub
commit 956fcab967
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 1259 additions and 19 deletions

View file

@ -1481,6 +1481,10 @@ const PDFViewerApplication = {
objects,
dispatchEventName,
calculationOrder,
appInfo: {
platform: navigator.platform,
language: navigator.language,
},
docInfo: {
...info,
baseURL: this.baseUrl,