commit 8027e6c4f241b6d7fa7860df679bb5a4e4447716
parent 32d97b9ef982d8ce51540a009c1978db7edb6d38
Author: Simon Kornblith <simon@simonster.com>
Date: Sat, 6 Nov 2010 19:51:31 +0000
fix accidental global variable
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js
@@ -963,7 +963,8 @@ Zotero.Utilities.Internal = {
*/
// From http://rcrowley.org/2007/11/15/md5-in-xulrunner-or-firefox-extensions/
- var ascii = []; ii = hash.length;
+ var ascii = [];
+ var ii = hash.length;
for (var i = 0; i < ii; ++i) {
var c = hash.charCodeAt(i);
var ones = c % 16;