1 line
761 B
JavaScript
1 line
761 B
JavaScript
|
"use strict";require(["skrollr","compat/modernizr","waypoints","components/achievements","components/reports","components/chart","require/domReady!"],function(e,n,t,o,r,s){let c=document.querySelector.bind(document);document.querySelectorAll.bind(document);n.touchevents||e.init({forceHeight:!1});let i=new o(c(".achievements"));new t({element:c(".achievements"),handler:e=>{"down"===e&&i.init()},offset:"70%"});new r(c(".reports"));new t({element:c(".reports"),handler:e=>{"down"===e&&c(".reports").classList.remove("loading")},offset:"60%"});let m=new s(c(".chart"));new t({element:c(".chart"),handler:e=>{"down"===e&&m.init()},offset:"100%"}),new t({element:c(".home__box"),handler:e=>{"down"===e&&c(".home__box").classList.add("comes-in")},offset:"80%"})});
|