mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Simplify a couple of preprocessor tags in viewer.js
This commit is contained in:
parent
bb16475070
commit
d53fa1884b
1 changed files with 3 additions and 6 deletions
|
@ -320,8 +320,7 @@ var PDFViewerApplication = {
|
|||
|
||||
get supportsIntegratedFind() {
|
||||
var support = false;
|
||||
//#if !(FIREFOX || MOZCENTRAL)
|
||||
//#else
|
||||
//#if (FIREFOX || MOZCENTRAL)
|
||||
// support = FirefoxCom.requestSync('supportsIntegratedFind');
|
||||
//#endif
|
||||
|
||||
|
@ -330,8 +329,7 @@ var PDFViewerApplication = {
|
|||
|
||||
get supportsDocumentFonts() {
|
||||
var support = true;
|
||||
//#if !(FIREFOX || MOZCENTRAL)
|
||||
//#else
|
||||
//#if (FIREFOX || MOZCENTRAL)
|
||||
// support = FirefoxCom.requestSync('supportsDocumentFonts');
|
||||
//#endif
|
||||
|
||||
|
@ -340,8 +338,7 @@ var PDFViewerApplication = {
|
|||
|
||||
get supportsDocumentColors() {
|
||||
var support = true;
|
||||
//#if !(FIREFOX || MOZCENTRAL)
|
||||
//#else
|
||||
//#if (FIREFOX || MOZCENTRAL)
|
||||
// support = FirefoxCom.requestSync('supportsDocumentColors');
|
||||
//#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue