[Pkg-javascript-commits] [node-sha.js] 17/237: more debuging
Bastien Roucariès
rouca at moszumanska.debian.org
Fri May 5 09:02:51 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-sha.js.
commit f1c9d104d188fbc5ff447a8dc7976400646d3ffb
Author: Dominic Tarr <dominic.tarr at gmail.com>
Date: Thu Dec 26 22:32:20 2013 +0700
more debuging
---
util.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/util.js b/util.js
index f08af10..689120e 100644
--- a/util.js
+++ b/util.js
@@ -22,7 +22,9 @@ function write (buffer, string, enc, start, from, to, LE) {
//iterate in bigendian order.
var j = start + i
var byte = (j&0xfffffffc)|(LE ? j%4 : 3 - j%4)
- console.log('byte', byte, string[i + from], string.charCodeAt(i + from).toString(16))
+ console.log('byte', byte, string[i + from],
+ string.charCodeAt(i + from),
+ string.charCodeAt(i + from).toString(16))
buffer[byte] = string.charCodeAt(i + from)
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-sha.js.git
More information about the Pkg-javascript-commits
mailing list