[Pkg-javascript-commits] [pdf.js] 73/246: Add strict equalities in src/core/annotation.js

David Prévot taffit at moszumanska.debian.org
Sun Sep 7 15:36:27 UTC 2014


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

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

commit 9cb09324d2af13bc2f5a441ea87e3a02c18507b8
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Fri Aug 1 18:23:19 2014 +0200

    Add strict equalities in src/core/annotation.js
---
 src/core/annotation.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/annotation.js b/src/core/annotation.js
index c021952..3bf8a82 100644
--- a/src/core/annotation.js
+++ b/src/core/annotation.js
@@ -357,7 +357,7 @@ var WidgetAnnotation = (function WidgetAnnotationClosure() {
         var j, jj;
         for (j = 0, jj = kids.length; j < jj; j++) {
           var kidRef = kids[j];
-          if (kidRef.num == ref.num && kidRef.gen == ref.gen) {
+          if (kidRef.num === ref.num && kidRef.gen === ref.gen) {
             break;
           }
         }

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