PageSourceSearch

https://www.enterespoo.fi/themes/custom/enter_espoo/dist/00-base/global/animations/animations.js?v=0.1

js enterespoo.fi collected 2026-10-02 05:26:17 UTC 814 bytes, 2 lines download raw bytes

1!function(Drupal,t){function o(n){t(n).addClass("animation--play")}function i(n){let e=n.offsetTop,t=n.offsetLeft;for(var o=n.offsetWidth,i=n.offsetHeight;n.offsetParent;)n=n.offsetParent,e+=n.offsetTop,t+=n.offsetLeft;return e<window.pageYOffset+window.innerHeight&&t<window.pageXOffset+window.innerWidth&&e+i>window.pageYOffset&&t+o>window.pageXOffset}Drupal.behaviors.animations={attach:function(n){t(document).find("blockquote").map(function(n,e){t(e).addClass("animation")}),t(document).find(".animation").map(function(n,t){i(t)&&o(t),window.addEventListener("scroll",function n(e){i(t)&&(window.removeEventListener("scroll",n,!1),o(t))},!1),window.addEventListener("resize",function n(e){i(t)&&(window.removeEventListener("scroll",n,!1),o(t))},!1)})}}}(Drupal,jQuery);
2//# sourceMappingURL=animations.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.