1var a = 0; 2$(window).scroll(function() { 3 4 var oTop = $('#counter').offset().top - window.innerHeight; 5 if (a == 0 && $(window).scrollTop() > oTop) { 6 $('.counter-value').each(function() { 7 var $this = $(this), 8 countTo = $this.attr('data-count'); 9 $({ 10 countNum: $this.text() 11 }).animate({ 12 countNum: countTo 13 }, 14 15 { 16 17 duration: 2000, 18 easing: 'swing', 19 step: function() { 20 $this.text(Math.floor(this.countNum)); 21 }, 22 complete: function() { 23 $this.text(this.countNum); 24 //alert('finished'); 25 } 26 27 }); 28 }); 29 a = 1; 30 } 31 32});
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.