Browse Source

Fix coding style in test/unit/crypto_spec.js

Jonas Jenwald 11 years ago
parent
commit
9e3f7e4d6d
  1. 3
      test/unit/crypto_spec.js

3
test/unit/crypto_spec.js

@ -9,8 +9,9 @@ describe('crypto', function() { @@ -9,8 +9,9 @@ describe('crypto', function() {
function string2binary(s) {
var n = s.length, i;
var result = new Uint8Array(n);
for (i = 0; i < n; ++i)
for (i = 0; i < n; ++i) {
result[i] = s.charCodeAt(i) % 0xFF;
}
return result;
}

Loading…
Cancel
Save