Download docs/app.js from Snapkitty/snapfortress-v2: direct link, hf CLI and curl.
- Browser
- Download file 680 Bytes
-
https://huggingface.co/Snapkitty/snapfortress-v2/resolve/main/docs/app.js
- Command line
-
hf download hf://Snapkitty/snapfortress-v2/docs/app.js
-
curl -L -o app.js https://huggingface.co/Snapkitty/snapfortress-v2/resolve/main/docs/app.js
680 Bytes
| const observer = new IntersectionObserver((entries) => { | |
| entries.forEach((entry, i) => { | |
| if (entry.isIntersecting) { | |
| setTimeout(() => entry.target.classList.add('visible'), i * 80); | |
| observer.unobserve(entry.target); | |
| } | |
| }); | |
| }, { threshold: 0.1 }); | |
| document.querySelectorAll('.component, .tax-item, .int-item, .stack-item').forEach(el => { | |
| observer.observe(el); | |
| }); | |
| const nodes = document.querySelectorAll('.pipe-node'); | |
| let current = 0; | |
| function cyclePipeline() { | |
| nodes.forEach(n => n.classList.remove('active')); | |
| nodes[current].classList.add('active'); | |
| current = (current + 1) % nodes.length; | |
| } | |
| if (nodes.length) setInterval(cyclePipeline, 1200); | |