mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Exposes all functional members via lib exports and use them in viewer.
This commit is contained in:
parent
1d12aed5ca
commit
1e3e14e6b2
25 changed files with 174 additions and 102 deletions
|
@ -41,9 +41,11 @@ function webViewerLoad() {
|
|||
//#if !PRODUCTION
|
||||
require.config({paths: {'pdfjs': '../src'}});
|
||||
require(['pdfjs/main_loader'], function (loader) {
|
||||
window.pdfjsLib = loader;
|
||||
PDFViewerApplication.run();
|
||||
});
|
||||
//#else
|
||||
//window.pdfjsLib = window.pdfjsDistBuildPdf;
|
||||
//PDFViewerApplication.run();
|
||||
//#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue