1//v1.1.1 2// initNavigation helper function 3//must be a module type to use import 4import { initNavigation } from '/filestore/js/navigation.js'; 5 6export async function initNavFromUrl(container, jsonUrl, options = {}) { 7 const raw = await fetch(jsonUrl).then(r => r.json()); 8 const data = Array.isArray(raw) ? (raw[0] || {}) : raw; 9 initNavigation(container, { ...options, menuData: data }); 10 window.dispatchEvent(new CustomEvent("loginBtnContainersRendered")); 11}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.