Browse Source

Simplify a couple of preprocessor tags in viewer.js

Jonas Jenwald 10 years ago
parent
commit
d53fa1884b
  1. 9
      web/viewer.js

9
web/viewer.js

@ -320,8 +320,7 @@ var PDFViewerApplication = { @@ -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 = { @@ -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 = { @@ -340,8 +338,7 @@ var PDFViewerApplication = {
get supportsDocumentColors() {
var support = true;
//#if !(FIREFOX || MOZCENTRAL)
//#else
//#if (FIREFOX || MOZCENTRAL)
// support = FirefoxCom.requestSync('supportsDocumentColors');
//#endif

Loading…
Cancel
Save