MCPcopy Index your code
hub / github.com/python/cpython / restoreUIState

Function restoreUIState

Lib/profiling/sampling/_heatmap_assets/heatmap_shared.js:47–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45
46// Restore theme from localStorage, or use browser preference
47function restoreUIState() {
48 applyTheme(getPreferredTheme());
49}
50
51// ============================================================================
52// Favicon (Reuse logo image as favicon)

Callers 2

heatmap.jsFile · 0.70
heatmap_index.jsFile · 0.70

Calls 2

applyThemeFunction · 0.85
getPreferredThemeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…