We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 033678f commit f167d73Copy full SHA for f167d73
src/sidebar/services/frame-sync.js
@@ -16,8 +16,9 @@ import { watch } from '../util/watch';
16
export function formatAnnot(ann) {
17
function hashColor(s) {
18
let h = 0;
19
- for (let i = 0; i < s.length; i++)
20
- {h = (Math.imul(31, h) + s.charCodeAt(i)) | 0;}
+ for (let i = 0; i < s.length; i++) {
+ h = (Math.imul(31, h) + s.charCodeAt(i)) | 0;
21
+ }
22
23
return `#${Math.abs(h).toString(16).padStart(6, '0').substr(0, 6)}`;
24
}
0 commit comments