PageSourceSearch

https://www.queerbeat.org/wp-content/plugins/sputznik-siteorigin-widgets//assets/js/odometer.js?ver=1790380417

js queerbeat.org collected 2026-09-25 23:54:24 UTC 1,018 bytes, 41 lines download raw bytes

1jQuery( '[data-behaviour=sp-odometer]' ).each( function(){
2  var $odometer = jQuery( this );
3  var $odometer_id = $odometer.attr('id')
4  var $delay = $odometer.data('delay');
5
6  // Odometer Animation Script
7  var a = 0;
8  jQuery(window).scroll(function() {
9
10    var oTop = jQuery('#'+ $odometer_id).offset().top - window.innerHeight;
11    if (a == 0 && jQuery(window).scrollTop() > oTop) {
12      jQuery('.odometer-value').each(function() {
13        var $this = jQuery(this),
14          countTo = $this.attr('data-count');
15          console.log('hiiii');
16        jQuery({
17          countNum: $this.text()
18        }).animate({
19            countNum: countTo
20          },
21
22          {
23
24            duration: $delay,
25            easing: 'swing',
26            step: function() {
27              $this.text(Math.floor(this.countNum));
28            },
29            complete: function() {
30              $this.text(this.countNum);
31              //alert('finished');
32            }
33
34          });
35      });
36      a = 1;
37    }
38
39  });
40
41});

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.