MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / init

Function init

src/components/referencesPanel/referencesTab.js:82–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 }
81
82 async function init() {
83 if (isInitialized) return;
84 isInitialized = true;
85
86 if (!prebuiltItems || prebuiltItems.length === 0) {
87 $listContainer.appendChild($loadingState);
88 flatItems = await buildFlatList(references, symbolName);
89 $loadingState.remove();
90 }
91
92 renderList();
93 $listContainer.appendChild($refList);
94 }
95
96 function destroy() {
97 $refList.innerHTML = "";

Callers

nothing calls this directly

Calls 3

buildFlatListFunction · 0.90
renderListFunction · 0.70
removeMethod · 0.45

Tested by

no test coverage detected