1$(document).ready(function() { 2 // Ðайдем вÑе ÑиÑÑÑ 3 /* let text = $('#case_container').find('.counter'); 4 text.each(function( index ) { 5 let str = $( this ).text(); 6 // Ðайдем ÑиÑло 7 let x = parseInt(str.replace(/[^\d]/g, '')); 8 // Ðаменим ÑиÑло в ÑÑÑоке 9 $( this ).html(str.replace(x, '<span class="animation-counter">' + x + '</span>')); 10 });*/ 11 12 // Ðайдем вÑе ÑиÑÑÑ 13 let text2 = $('.post-preview-list .case_highlight').find('h2'); 14 text2.each(function( index ) { 15 let str = $( this ).text(); 16 // Ðайдем ÑиÑло 17 let x = parseInt(str.replace(/[^\d]/g, '')); 18 // Ðаменим ÑиÑло в ÑÑÑоке 19 $( this ).html(str.replace(x, '<span class="animation-counter">' + x + '</span>')); 20 }); 21 22 // Ðайдем вÑе ÑиÑÑÑ 23 let text3 = $('.post-preview-list .case_highlight').find('.counter'); 24 text3.each(function( index ) { 25 let str = $( this ).text(); 26 // Ðайдем ÑиÑло 27 let x = parseInt(str.replace(/[^\d]/g, '')); 28 // Ðаменим ÑиÑло в ÑÑÑоке 29 $( this ).html(str.replace(x, '<span class="animation-counter">' + x + '</span>')); 30 }); 31 32 $(document).find('.animation-counter').each(function () { 33 var $this = $(this); 34 jQuery({ Counter: 0 }).animate({ Counter: $this.text() }, { 35 duration: 1500, 36 easing: 'swing', 37 step: function () { 38 $this.text(Math.ceil(this.Counter)); 39 } 40 }); 41 }); 42}); 43 44 45/* 46$(document).ready(function() { 47 // Ðайдем вÑе ÑиÑÑÑ 48 let text = $('#case_container').find('.counter'); 49 text.each(function( index ) { 50 let str = $( this ).text(); 51 // Ðайдем ÑиÑло 52 let x = parseInt(str.replace(/[^\d]/g, '')); 53 $( this ).html(str.replace(x, '<span class="animation-counter-' + x + '">' + x + '</span>')) 54 jQuery({ Counter: 0 }).animate({ Counter: $('.animation-counter-' + x ).text() }, { 55 duration: 1500, 56 easing: 'swing', 57 step: function () { 58 $('.animation-counter-' + x).text(Math.ceil(this.Counter)); 59 } 60 }); 61 62 }); 63}); 64*/
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.