MCPcopy Index your code
hub / github.com/tinyplex/tinybase / versionLoad

Function versionLoad

site/js/common/common.ts:8–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6export const doc = document;
7
8export const versionLoad = () => {
9 addEventListener('load', () => {
10 const version: HTMLElement = query('#version');
11 version.innerText = thisVersion;
12 version.style.width = version.scrollWidth + 'px';
13 });
14};
15
16let nav: HTMLElement | null = null;
17export const getNav = (): HTMLElement => (nav ??= query('body > main > nav'));

Callers 3

single.tsFile · 0.90
home.tsFile · 0.90
app.tsFile · 0.90

Calls 2

queryFunction · 0.85
addEventListenerFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…