You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Refactor PDFJS global var usage and move it initialization into single file #6779
for v1.x we are going to keep supporting accessing PDFJS.xxxx members, however for future (e.g. v2.0) we shall probably rely only on module exports keeping that single file as compatibility feature.
TODO:
move all preferences from api.js into parameter object for related methods (e.g. disableRange is parameter for getDocument, and externalLinkTarget for AnnotationLayer.render)
refactor global PDFJS usage/assignments from all core/, shared/ and display/ , keep them in the single file e.g. src/display/globals.js
for v1.x we are going to keep supporting accessing PDFJS.xxxx members, however for future (e.g. v2.0) we shall probably rely only on module exports keeping that single file as compatibility feature.
TODO: