/// /** * Main entry function */ /// create our class as soon as the document is loaded document.addEventListener("readystatechange", function(event: Event) { if (!window.pa) { window.pa = new PathAnimator(); } });