[Pkg-javascript-commits] [node-hash-base] 05/06: Fix code style
Bastien Roucariès
rouca at moszumanska.debian.org
Thu May 4 10:21:23 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to annotated tag v2.0.0
in repository node-hash-base.
commit 964daa56acf87439b229ee4582cc29f4b6f3a722
Author: Kirill Fomichev <fanatid at ya.ru>
Date: Thu Apr 7 09:38:45 2016 +0300
Fix code style
---
index.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/index.js b/index.js
index 64a6b09..5b73f6a 100644
--- a/index.js
+++ b/index.js
@@ -32,10 +32,10 @@ HashBase.prototype.update = function (data, encoding) {
}
// update length
- for (var i = 0, carry = data.length * 8; carry > 0; ++i) {
- this._length[i] += carry
- carry = Math.floor(this._length[i] / 0x0100000000)
- if (carry > 0) this._length[i] -= 0x0100000000 * carry
+ for (var j = 0, carry = data.length * 8; carry > 0; ++j) {
+ this._length[j] += carry
+ carry = Math.floor(this._length[j] / 0x0100000000)
+ if (carry > 0) this._length[j] -= 0x0100000000 * carry
}
return this
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-hash-base.git
More information about the Pkg-javascript-commits
mailing list