import { DeclarationDataCenter } from "./declaration-data.js"; fillImportedBy(); async function fillImportedBy() { if (typeof(MODULE_NAME) == "undefined") { return; } const dataCenter = await DeclarationDataCenter.init(); const moduleName = MODULE_NAME; const importedByList = document.querySelector(".imported-by-list"); const importedBy = dataCenter.moduleImportedBy(moduleName); var innerHTML = ""; for(var module of importedBy) { const moduleLink = dataCenter.moduleNameToLink(module); innerHTML += `
  • ${module}
  • ` } importedByList.innerHTML = innerHTML; }