Download static/shared/js/layouts/header.js from Really-amin/Datasourceforcryptocurrency: direct link, hf CLI and curl.
- Browser
- Download file 547 Bytes
-
https://huggingface.co/spaces/Really-amin/Datasourceforcryptocurrency/resolve/main/static/shared/js/layouts/header.js
- Command line
-
hf download hf://spaces/Really-amin/Datasourceforcryptocurrency/static/shared/js/layouts/header.js
-
curl -L -o header.js https://huggingface.co/spaces/Really-amin/Datasourceforcryptocurrency/resolve/main/static/shared/js/layouts/header.js
547 Bytes
| /** | |
| * Header Loader | |
| * Loads and initializes the header component | |
| * This is a wrapper that uses the LayoutManager | |
| */ | |
| import { LayoutManager } from '../core/layout-manager.js'; | |
| // Auto-initialize when this script loads | |
| (async function initHeader() { | |
| try { | |
| // Only inject header if not already injected | |
| if (!LayoutManager.layoutsInjected) { | |
| await LayoutManager.injectHeader(); | |
| } | |
| } catch (error) { | |
| console.error('[Header] Failed to load header:', error); | |
| } | |
| })(); | |
| export default LayoutManager; | |