[Pkg-javascript-commits] [node-create-hash] 26/40: lint it
Bastien Roucariès
rouca at moszumanska.debian.org
Sat May 27 14:10:35 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-create-hash.
commit 5a52062e3b31eea2d0646c1e93912bd3b80e7ec1
Author: Calvin Metcalf <cmetcalf at appgeo.com>
Date: Tue Oct 13 07:17:02 2015 -0400
lint it
---
make-hash.js | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/make-hash.js b/make-hash.js
index 4b2c9f2..c9f7862 100644
--- a/make-hash.js
+++ b/make-hash.js
@@ -20,12 +20,11 @@ function toArray (buf) {
return arr
}
-
module.exports = function hash (buf, fn) {
var arr = fn(toArray(buf), buf.length * charSize)
- var buf = new Buffer(hashSize)
+ buf = new Buffer(hashSize)
for (var i = 0; i < arr.length; i++) {
- buf.writeInt32LE(arr[i], i << 2, true)
+ buf.writeInt32LE(arr[i], i << 2, true)
}
return buf
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-create-hash.git
More information about the Pkg-javascript-commits
mailing list