Removes mozPrintCallback polyfill, converts canvas to PNG.
This commit is contained in:
parent
24a7a58da7
commit
c09f634bb6
9 changed files with 339 additions and 279 deletions
|
@ -175,8 +175,7 @@ function webViewerLoad() {
|
|||
// Ensure that src/main_loader.js has loaded all the necessary dependencies
|
||||
// *before* the viewer loads, to prevent issues in browsers relying on e.g.
|
||||
// the Promise/URL polyfill in src/shared/util.js (fixes issue 7448).
|
||||
require(['pdfjs-web/app', 'pdfjs-web/firefox_print_service',
|
||||
'pdfjs-web/mozPrintCallback_polyfill'], function (web) {
|
||||
require(['pdfjs-web/app', 'pdfjs-web/pdf_print_service'], function (web) {
|
||||
window.PDFViewerApplication = web.PDFViewerApplication;
|
||||
web.PDFViewerApplication.run(config);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue