PageSourceSearch

https://joyradio.ca/wp-content/themes/whiteoakstation-joy/js/animation.js?v=666&ver=975334543604

js joyradio.ca collected 2026-10-02 19:17:32 UTC 747 bytes, 25 lines download raw bytes

1jQuery(function () {
2  // Initial animation on page load
3  jQuery(document).ready(function () {
4    jQuery("[data-js-animation]").each(function () {
5      let $el = jQuery(this);
6      let attrname = $el.attr("data-js-animation");
7
8      if ($el.is(":in-viewport") && !$el.hasClass("visible")) {
9        $el.addClass(attrname + " visible");
10      }
11    });
12  });
13
14  // Animation on scroll with offset
15  jQuery(window).on("scroll", function () {
16    jQuery("[data-js-animation]").each(function () {
17      let $el = jQuery(this);
18      let attrname = $el.attr("data-js-animation");
19
20      if ($el.is(":in-viewport(-120)") && !$el.hasClass("visible")) {
21        $el.addClass(attrname + " visible");
22      }
23    });
24  });
25});

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.