Skip to content

Commit d6b9bc3

Browse files
authored
Merge pull request #3 from Knio/patch-1
Fix infinite loop
2 parents 6df4cdb + e6ece6f commit d6b9bc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/static/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ String.prototype.hexEncode = function() {
55
while (i < this.length) {
66
h = this.charCodeAt(i++).toString(16);
77
while (h.length < 2) {
8-
h = h;
8+
h = "0" + h;
99
}
1010
r += h;
1111
}

0 commit comments

Comments
 (0)