1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 01:58:06 +02:00

Rename the globals to shorter names.

pdfjsDistBuildPdf=pdfjsLib
pdfjsDistWebPdfViewer=pdfjsViewer
pdfjsDistBuildPdfWorker=pdfjsWorker
This commit is contained in:
Brendan Dahl 2018-03-15 13:49:28 -07:00
parent 6662985a20
commit 01bff1a81d
14 changed files with 66 additions and 68 deletions

View file

@ -3,5 +3,5 @@
// Hello world example for browserify: worker bundle.
(typeof window !== 'undefined' ? window : {}).pdfjsDistBuildPdfWorker =
(typeof window !== 'undefined' ? window : {}).pdfjsWorker =
require('pdfjs-dist/build/pdf.worker');