Skip to content

Commit f167d73

Browse files
committed
formatting issues?
1 parent 033678f commit f167d73

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/sidebar/services/frame-sync.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ import { watch } from '../util/watch';
1616
export function formatAnnot(ann) {
1717
function hashColor(s) {
1818
let h = 0;
19-
for (let i = 0; i < s.length; i++)
20-
{h = (Math.imul(31, h) + s.charCodeAt(i)) | 0;}
19+
for (let i = 0; i < s.length; i++) {
20+
h = (Math.imul(31, h) + s.charCodeAt(i)) | 0;
21+
}
2122

2223
return `#${Math.abs(h).toString(16).padStart(6, '0').substr(0, 6)}`;
2324
}

0 commit comments

Comments
 (0)