MCPcopy Create free account
hub / github.com/cutedCha/noteBoook / initApp

Function initApp

js/app.js:934–951  ·  view source on GitHub ↗

* 初始化应用

()

Source from the content-addressed store, hash-verified

932 * 初始化应用
933 */
934function initApp() {
935 // 缓存 DOM 元素
936 cacheElements();
937
938 // 绑定事件
939 bindEvents();
940
941 // 隐藏加载动画
942 hideLoading();
943
944 // 标记应用已加载
945 AppState.isLoaded = true;
946
947 // 检查是否有保存的阅读进度,显示继续阅读提示
948 checkAndShowContinueReading();
949
950 console.log('图形学教程应用已初始化');
951}
952
953/**
954 * 缓存 DOM 元素

Callers

nothing calls this directly

Calls 4

cacheElementsFunction · 0.85
bindEventsFunction · 0.85
hideLoadingFunction · 0.85

Tested by

no test coverage detected