1(function ($) { 2 $(document).ready(function () { 3 4 var counters = []; 5 6 $('.stats_counter').each(function () { 7 var $this = $(this); 8 var id = $this.attr('data-id'); 9 10 counters[id] = { 11 started: false, 12 counter: new countUp(id, 0, $this.attr('data-value'), 0, $this.attr('data-duration'), { 13 useEasing : true, 14 useGrouping: true, 15 separator : '', 16 }) 17 }; 18 19 $(window).scroll(function(){ 20 if ($('#' + id).is_on_screen() && !counters[id]['started']) { 21 counters[id]['counter'].start(); 22 counters[id]['started'] = true; 23 } 24 }); 25 26 }); 27 28 29 }); 30})(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.