Simplify a couple of preprocessor tags in viewer.js
This commit is contained in:
parent
bb16475070
commit
d53fa1884b
@ -320,8 +320,7 @@ var PDFViewerApplication = {
|
|||||||
|
|
||||||
get supportsIntegratedFind() {
|
get supportsIntegratedFind() {
|
||||||
var support = false;
|
var support = false;
|
||||||
//#if !(FIREFOX || MOZCENTRAL)
|
//#if (FIREFOX || MOZCENTRAL)
|
||||||
//#else
|
|
||||||
// support = FirefoxCom.requestSync('supportsIntegratedFind');
|
// support = FirefoxCom.requestSync('supportsIntegratedFind');
|
||||||
//#endif
|
//#endif
|
||||||
|
|
||||||
@ -330,8 +329,7 @@ var PDFViewerApplication = {
|
|||||||
|
|
||||||
get supportsDocumentFonts() {
|
get supportsDocumentFonts() {
|
||||||
var support = true;
|
var support = true;
|
||||||
//#if !(FIREFOX || MOZCENTRAL)
|
//#if (FIREFOX || MOZCENTRAL)
|
||||||
//#else
|
|
||||||
// support = FirefoxCom.requestSync('supportsDocumentFonts');
|
// support = FirefoxCom.requestSync('supportsDocumentFonts');
|
||||||
//#endif
|
//#endif
|
||||||
|
|
||||||
@ -340,8 +338,7 @@ var PDFViewerApplication = {
|
|||||||
|
|
||||||
get supportsDocumentColors() {
|
get supportsDocumentColors() {
|
||||||
var support = true;
|
var support = true;
|
||||||
//#if !(FIREFOX || MOZCENTRAL)
|
//#if (FIREFOX || MOZCENTRAL)
|
||||||
//#else
|
|
||||||
// support = FirefoxCom.requestSync('supportsDocumentColors');
|
// support = FirefoxCom.requestSync('supportsDocumentColors');
|
||||||
//#endif
|
//#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user