()
| 5817 | } |
| 5818 | |
| 5819 | async function init() { |
| 5820 | loadReportCardHighlights(); |
| 5821 | bindEvents(); |
| 5822 | applyLocale(); |
| 5823 | renderChatSources(); |
| 5824 | await loadHealth(); |
| 5825 | await loadUsers(); |
| 5826 | await loadSourceOptions(); |
| 5827 | await loadLatestPush(); |
| 5828 | await loadWiki(); |
| 5829 | await loadSettings(); |
| 5830 | await resumeDailyTask(); |
| 5831 | const initialView = window.location.hash.slice(1) || "papers"; |
| 5832 | setView(document.getElementById(initialView) ? initialView : "papers", false); |
| 5833 | } |
| 5834 | |
| 5835 | window.addEventListener("DOMContentLoaded", () => { |
| 5836 | runAction(init, "初始化"); |
nothing calls this directly
no test coverage detected