[Pkg-javascript-commits] [pdf.js] 67/246: Add strict equalities in src/display/metadata.js
David Prévot
taffit at moszumanska.debian.org
Sun Sep 7 15:36:26 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 ec6ec135063eac7c8cae2080d02a1015f9afbeec
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date: Fri Aug 1 12:40:16 2014 +0200
Add strict equalities in src/display/metadata.js
---
src/display/metadata.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/display/metadata.js b/src/display/metadata.js
index 575026f..8a5e803 100644
--- a/src/display/metadata.js
+++ b/src/display/metadata.js
@@ -28,8 +28,8 @@ var Metadata = PDFJS.Metadata = (function MetadataClosure() {
var chars = '';
for (var i = 0; i < bytes.length; i += 2) {
var code = bytes.charCodeAt(i) * 256 + bytes.charCodeAt(i + 1);
- chars += code >= 32 && code < 127 && code != 60 && code != 62 &&
- code != 38 && false ? String.fromCharCode(code) :
+ chars += code >= 32 && code < 127 && code !== 60 && code !== 62 &&
+ code !== 38 && false ? String.fromCharCode(code) :
'&#x' + (0x10000 + code).toString(16).substring(1) + ';';
}
return '>' + chars;
--
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