1(function($) { 2 function init_odometer(el) { 3 if ($('.gem-counter-odometer', el).size() == 0) { 4 return; 5 } 6 var odometer = $('.gem-counter-odometer', el).get(0); 7 var format = $(el).closest('.gem-counter-box').data('number-format'); 8 9 format = format ? format : '(ddd).ddd'; 10 11 var od = new Odometer({ 12 el: odometer, 13 value: $(odometer).text(), 14 format: format 15 }); 16 od.update($(odometer).data('to')); 17 } 18 19 window.thegem_init_odometer = init_odometer; 20 21 $('.gem-counter').each(function(index) { 22 if ($(this).closest('.gem-counter-box').size() > 0 && $(this).closest('.gem-counter-box').hasClass('lazy-loading') && !window.gemSettings.lasyDisabled) { 23 $(this).addClass('lazy-loading-item').data('ll-effect', 'action').data('item-delay', '0').data('ll-action-func', 'thegem_init_odometer'); 24 $('.gem-icon', this).addClass('lazy-loading-item').data('ll-effect', 'fading').data('item-delay', '0'); 25 $('.gem-counter-text', this).addClass('lazy-loading-item').data('ll-effect', 'fading').data('item-delay', '0'); 26 $('.gem-counter-number', this).addClass('lazy-loading-item').data('ll-effect', 'fading').data('item-delay', '0'); 27 return; 28 } 29 init_odometer(this); 30 }); 31})(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.