[Pkg-javascript-commits] [pdf.js] 95/116: Simplify a couple of preprocessor tags in viewer.js

David Prévot taffit at moszumanska.debian.org
Fri Mar 6 16:20:05 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit d53fa1884b473c38f16b8bfed20893f5ffbb65af
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Sat Jan 31 22:45:20 2015 +0100

    Simplify a couple of preprocessor tags in viewer.js
---
 web/viewer.js | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/web/viewer.js b/web/viewer.js
index 6438d3f..d8b62d1 100644
--- a/web/viewer.js
+++ b/web/viewer.js
@@ -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
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list