PageSourceSearch

https://www.allocommunications.com/wp-content/themes/allo-rs/js/stat-scroller.js?ver=260518-23125

js allocommunications.com collected 2026-10-01 12:27:17 UTC 1,225 bytes, 45 lines download raw bytes

1/**
2 * Stat Scroller Plugin
3 *
4 * Based on Simple Animated Counter on Scroll by David Reis
5 * https://codepen.io/dmcreis/pen/VLLYPo
6 *
7 * Updated and tweaked by Dane Jacobi / Nelnet Marketing
8 *
9 */
10
11(function ($) {
12  if ($('.js-counter').length) {
13    var a = 0;
14    $(window).on('scroll load', function () {
15      
16      var oTop = $('.js-counter').offset().top - window.innerHeight;
17      if (a == 0 && $(window).scrollTop() > oTop) {
18        $('.counter-value').each(function () {
19          var $this = $(this),
20            countTo = $this.attr('data-final'),
21            delay = $this.attr('data-delay'),
22            hasDecimal = countTo.indexOf(".");
23          $({
24            countNum: $this.text()
25          }).animate({
26              countNum: countTo
27            },
28            {
29              duration: delay * 1000,
30              easing: 'linear',
31              step: function () {
32                var val = hasDecimal > 0 ? parseFloat(this.countNum).toFixed(1) : Math.floor(this.countNum);
33                $this.text(val);
34              },
35              complete: function () {
36                $this.text(countTo);
37              }
38            });
39        });
40        a = 1;
41      }
42      
43    });
44  }
45})(jQuery);

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.