MCPcopy Index your code
hub / github.com/refined-github/refined-github / updateDom

Function updateDom

source/features/show-names.tsx:123–128  ·  view source on GitHub ↗
(link: HTMLAnchorElement)

Source from the content-addressed store, hash-verified

121const updateLink = batchedFunction(updateLinks, {delay: 200});
122
123function updateDom(link: HTMLAnchorElement): void {
124 // `dropExtraCopy` is async so that errors in this part don't break the entire feature
125 void dropExtraCopy(link);
126
127 updateLink(link);
128}
129
130async function init(signal: AbortSignal): Promise<void> {
131 // For `sticky-comment-header`

Callers

nothing calls this directly

Calls 2

dropExtraCopyFunction · 0.85
updateLinkFunction · 0.85

Tested by

no test coverage detected