[Pkg-javascript-commits] [pdf.js] 57/246: Use strict equalities in web/document_properties.js

David Prévot taffit at moszumanska.debian.org
Sun Sep 7 15:36:25 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 7ca6f0839f0f032684c38b90633c1947ecdd9756
Author: Tim van der Meij <timvandermeij at gmail.com>
Date:   Thu Jul 31 21:55:06 2014 +0200

    Use strict equalities in web/document_properties.js
---
 web/document_properties.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/web/document_properties.js b/web/document_properties.js
index e0161fe..eefbc0e 100644
--- a/web/document_properties.js
+++ b/web/document_properties.js
@@ -171,10 +171,10 @@ var DocumentProperties = {
 
     // As per spec, utRel = 'Z' means equal to universal time.
     // The other cases ('-' and '+') have to be handled here.
-    if (utRel == '-') {
+    if (utRel === '-') {
       hours += offsetHours;
       minutes += offsetMinutes;
-    } else if (utRel == '+') {
+    } else if (utRel === '+') {
       hours -= offsetHours;
       minutes += offsetMinutes;
     }

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