Removes app.js dependency on mozPrintCallback_polyfill.js.
This commit is contained in:
parent
3b21b51716
commit
3132941948
3 changed files with 8 additions and 9 deletions
|
@ -166,7 +166,7 @@ function webViewerLoad() {
|
|||
var config = getViewerConfiguration();
|
||||
//#if !PRODUCTION
|
||||
require.config({paths: {'pdfjs': '../src', 'pdfjs-web': '.'}});
|
||||
require(['pdfjs-web/app'], function (web) {
|
||||
require(['pdfjs-web/app', 'mozPrintCallback_polyfill.js'], function (web) {
|
||||
window.PDFViewerApplication = web.PDFViewerApplication;
|
||||
web.PDFViewerApplication.run(config);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue