PageSourceSearch

https://alnea.pl/wp-content/themes/codetheme/js/example.js

js alnea.pl collected 2026-10-06 16:22:25 UTC 1,242 bytes, 54 lines download raw bytes

1// Generated by CoffeeScript 1.9.2
2(function() {
3  var reset_scroll;
4
5  $(function() {
6    return $("[data-sticky_column]").stick_in_parent({
7      parent: "[data-sticky_parent]"
8    });
9  });
10
11  reset_scroll = function() {
12    var scroller;
13    scroller = $("body,html");
14    scroller.stop(true);
15    if ($(window).scrollTop() !== 0) {
16      scroller.animate({
17        scrollTop: 0
18      }, "fast");
19    }
20    return scroller;
21  };
22
23  window.scroll_it = function() {
24    var max;
25    max = $(document).height() - $(window).height();
26    return reset_scroll().animate({
27      scrollTop: max
28    }, max * 3).delay(100).animate({
29      scrollTop: 0
30    }, max * 3);
31  };
32
33  window.scroll_it_wobble = function() {
34    var max, third;
35    max = $(document).height() - $(window).height();
36    third = Math.floor(max / 3);
37    return reset_scroll().animate({
38      scrollTop: third * 2
39    }, max * 3).delay(100).animate({
40      scrollTop: third
41    }, max * 3).delay(100).animate({
42      scrollTop: max
43    }, max * 3).delay(100).animate({
44      scrollTop: 0
45    }, max * 3);
46  };
47
48  $(window).on("resize", (function(_this) {
49    return function(e) {
50      return $(document.body).trigger("sticky_kit:recalc");
51    };
52  })(this));
53
54}).call(this);

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.