INNER CODE UNIT · Python
match
gurkenlabs/litiengine · config/javadoc/generate_js.py:570
const match = headings.find(h => h.target === entry.target);
if (match) {
match.link.classList.add('active-toc');
}
}
});
}, {
rootMargin: '-80px 0px -70% 0px'
});
headings.forEach(h => observer.observe(h.target));
}
function cleanInheritanceTree() {
const rootInheritance = document.querySelector('main > div.inheritance');
if (!rootInheritance) return;
// Collect chain of nodes from root down to leaf