Removes app.js dependency on mozPrintCallback_polyfill.js.

This commit is contained in:
Yury Delendik 2016-04-15 16:40:41 -05:00
parent 3b21b51716
commit 3132941948
3 changed files with 8 additions and 9 deletions

View file

@ -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);
});