3 lines
508 B
JavaScript
3 lines
508 B
JavaScript
document.addEventListener("DOMContentLoaded",()=>{const e={class:["add","remove","toggle"]};let t=[];t=[],["i-click","i-view","i-scroll-up","i-scroll-down","i-hover"].map(o=>[...document.querySelectorAll(`[${o}]`)].map(r=>{let l=Object.keys(e).map(t=>e[t].map(e=>RegExp(`^${t}:${e}\\('\\w+', *'[#,.,a-zA-Z]\\w*'\\)$`).test(r.getAttribute(o))).some(e=>e)).every(e=>e);return l?t.push(r):(console.error("FFNM: Bad syntax"),console.error(r)),l}).every(e=>e)).every(e=>e)});
|
|
//# sourceMappingURL=ffnm.min.js.map
|