[Pkg-javascript-commits] [pdf.js] 58/116: Fix lint error: extensions/firefox/content/PdfStreamConverter.jsm: line 384, col 63, Expected '===' and instead saw '=='.

David Prévot taffit at moszumanska.debian.org
Fri Mar 6 16:20:01 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 801902c6ccc98f1d40aac39737fdbe04f4cba4be
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Thu Jan 22 20:58:04 2015 +0100

    Fix lint error: extensions/firefox/content/PdfStreamConverter.jsm: line 384, col 63, Expected '===' and instead saw '=='.
---
 extensions/firefox/content/PdfStreamConverter.jsm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extensions/firefox/content/PdfStreamConverter.jsm b/extensions/firefox/content/PdfStreamConverter.jsm
index e137959..2873033 100644
--- a/extensions/firefox/content/PdfStreamConverter.jsm
+++ b/extensions/firefox/content/PdfStreamConverter.jsm
@@ -381,7 +381,7 @@ ChromeActions.prototype = {
     return (!!prefBrowser && prefGfx);
   },
   supportsDocumentColors: function() {
-    if (getIntPref('browser.display.document_color_use', 0) == 2 ||
+    if (getIntPref('browser.display.document_color_use', 0) === 2 ||
         !getBoolPref('browser.display.use_document_colors', true)) {
       return false;
     }

-- 
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