init function
Last updated: 2026-03-04T23:36:57.288Z
Location
Metrics
LOC: 12
Complexity: 2
Params: 0
Signature
init(): : Promise<void>
Source Code
async function init(): Promise<void> {
await initLogger();
const [tab] = await chrome.tabs.query({ active: true, currentWindow: true });
pageUrl = tab?.url ?? "";
await initI18n("auto");
render();
bindHandlers();
log.debug("Popup init, url:", pageUrl);
}
Dependencies (Outgoing)
| Target | Type |
|---|---|
| render | calls |
| bindHandlers | calls |
No incoming dependencies.