1jQuery(function ($) { 2 function scrollInfinite() { 3 4 var ajaxready = true; 5 6 $(document).scroll(function() { 7 if (ajaxready == true) { 8 if ($(window).scrollTop() + $(window).height() >= ($(document).height())) { 9 ajaxready = false; 10 var paged = parseInt($('.paged').val()) + 1; 11 var cpt = $('.cpt').val(); 12 var cat = $('.cat').val(); 13 var collection = $('.collection').val(); 14 15 $.post( 16 ajaxurl, 17 { 18 'action': 'infiniteScroll', 19 'paged': paged, 20 'cpt': cpt, 21 'cat': cat, 22 'collection': collection 23 }, 24 function (response) { 25 26 $('.mainLeft').append(response); 27 $('.paged').val(paged); 28 29 if (response != '') ajaxready = true; 30 } 31 ); 32 33 } 34 } 35 }) 36 } 37 38 if ($('main').hasClass('listing')) scrollInfinite(); 39 40})
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.