mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 15:48:06 +02:00
[Firefox addon] Remove the window.FirefoxCom
hack from web/viewer.js
, since it was made redundant by the setExternalLocalizerServices
re-factoring (PR 7202 follow-up)
After PR 7202, there are no remaining references to `FirefoxCom` in the `/extensions/firefox/tools/l10n.js` file.
This commit is contained in:
parent
2928578164
commit
d76f299b6b
1 changed files with 1 additions and 2 deletions
|
@ -41,8 +41,7 @@ if (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('PRODUCTION')) {
|
|||
}
|
||||
|
||||
if (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('FIREFOX || MOZCENTRAL')) {
|
||||
// FIXME the l10n.js file in the Firefox extension needs global FirefoxCom.
|
||||
window.FirefoxCom = require('./firefoxcom.js').FirefoxCom;
|
||||
require('./firefoxcom.js');
|
||||
require('./firefox_print_service.js');
|
||||
}
|
||||
if (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('GENERIC')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue