1;(function($){ 2 'use strict'; 3 jQuery(document).ready(function($) { 4 //subscribe ajax 5 $('.loadmore-timeline').on('click', this, function() { 6 var id_crsc = $(this).data('id'); 7 var n_page = $('#'+id_crsc+' input[name=num_page_uu]').val(); 8 $('#'+id_crsc+' .loadmore-timeline').addClass("loading"); 9 $('#'+id_crsc+' .loadmore-timeline i').addClass("fa-spin"); 10 var param_query = $('#'+id_crsc+' input[name=param_query]').val(); 11 var page = $('#'+id_crsc+' input[name=current_page]').val(); 12 var num_page = $('#'+id_crsc+' input[name=num_page]').val(); 13 var param_shortcode = $('#'+id_crsc+' input[name=param_shortcode]').val(); 14 var param = { 15 action: 'ex_loadmore_timeline', 16 param_query: param_query, 17 page: page*1+1, 18 param_shortcode: param_shortcode, 19 }; 20 $.ajax({ 21 type: "post", 22 url: loadmore_ajax.ajaxurl, 23 dataType: 'html', 24 data: (param), 25 success: function(data){ 26 if(data != '0') 27 { 28 n_page = n_page*1+1; 29 $('#'+id_crsc+' input[name=num_page_uu]').val(n_page) 30 if(data == ''){ 31 $('#'+id_crsc+' .loadmore-timeline').remove(); 32 $('#'+id_crsc+' .timeline-row.empty').remove(); 33 } 34 else{ 35 $('#'+id_crsc+' input[name=current_page]').val(page*1+1); 36 $('#'+id_crsc+' .loadmore-timeline').removeClass("loading"); 37 $('#'+id_crsc+' .loadmore-timeline i').removeClass("fa-spin"); 38 $('#'+id_crsc+' .timeline-row.empty').remove(); 39 $('#'+id_crsc+' .timeline').append(data); 40 } 41 if(n_page == num_page){ 42 $('#'+id_crsc+' .loadmore-timeline').remove(); 43 $('#'+id_crsc+' .timeline-row.empty').remove(); 44 } 45 }else{$('.timeline-row.loadmore').html('error');} 46 } 47 }); 48 }); 49 50 }); 51}(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.