mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
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
5
make.js
5
make.js
|
@ -129,7 +129,7 @@ target.generic = function() {
|
|||
|
||||
var TMP_VIEWER = GENERIC_DIR + '/web/viewer.js.tmp';
|
||||
cd('web/');
|
||||
var viewerBundleFiles = ['app.js'];
|
||||
var viewerBundleFiles = ['app.js', 'mozPrintCallback_polyfill.js'];
|
||||
bundle('viewer.js', ROOT_DIR + TMP_VIEWER, viewerBundleFiles,
|
||||
'pdfjs-dist/web/viewer', defines, true);
|
||||
cd(ROOT_DIR);
|
||||
|
@ -1132,7 +1132,8 @@ target.chromium = function() {
|
|||
|
||||
var TMP_VIEWER = CHROME_BUILD_CONTENT_DIR + '/web/viewer.js.tmp';
|
||||
cd('web/');
|
||||
var viewerBundleFiles = ['app.js', 'chromecom.js'];
|
||||
var viewerBundleFiles = ['app.js', 'chromecom.js',
|
||||
'mozPrintCallback_polyfill.js'];
|
||||
bundle('viewer.js', ROOT_DIR + TMP_VIEWER, viewerBundleFiles,
|
||||
'pdfjs-dist/web/viewer', defines, true);
|
||||
cd(ROOT_DIR);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue