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
|
@ -244,13 +244,13 @@ function createWebBundle(defines) {
|
|||
amdName = 'pdfjs-dist/web/viewer';
|
||||
outputName = 'viewer.js';
|
||||
template = 'web/viewer.js';
|
||||
files = ['app.js', 'firefox_print_service.js'];
|
||||
files = ['app.js'];
|
||||
if (defines.FIREFOX || defines.MOZCENTRAL) {
|
||||
files.push('firefoxcom.js');
|
||||
files.push('firefoxcom.js', 'firefox_print_service.js');
|
||||
} else if (defines.CHROME) {
|
||||
files.push('chromecom.js', 'mozPrintCallback_polyfill.js');
|
||||
files.push('chromecom.js', 'pdf_print_service.js');
|
||||
} else if (defines.GENERIC) {
|
||||
files.push('mozPrintCallback_polyfill.js');
|
||||
files.push('pdf_print_service.js');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue