Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo-mod-jslibs-dist.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'alpinejs/packages/intersect/dist/dist/cdn.min.js')
-rw-r--r--alpinejs/packages/intersect/dist/dist/cdn.min.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/alpinejs/packages/intersect/dist/dist/cdn.min.js b/alpinejs/packages/intersect/dist/dist/cdn.min.js
deleted file mode 100644
index 6adbb58..0000000
--- a/alpinejs/packages/intersect/dist/dist/cdn.min.js
+++ /dev/null
@@ -1 +0,0 @@
-(()=>{function c(e){e.directive("intersect",(s,{value:n,expression:o,modifiers:r},{evaluateLater:l,cleanup:d})=>{let u=l(o),f={threshold:h(r)},t=new IntersectionObserver(a=>{a.forEach(i=>{!i.isIntersecting&&n==="enter"||i.isIntersecting&&n==="leave"||i.intersectionRatio===0&&!n||(u(),r.includes("once")&&t.disconnect())})},f);t.observe(s),d(()=>{t.disconnect()})})}function h(e){return e.includes("full")?.99:e.includes("half")?.5:0}document.addEventListener("alpine:init",()=>{window.Alpine.plugin(c)});})();