1jQuery(document).ready(function(){ 2 jQuery(document).on("click", ".jlk", function(e){ 3 e.preventDefault(); 4 var task = jQuery(this).attr("data-task"); 5 var post_id = jQuery(this).attr("data-post_id"); 6 var nonce = jQuery(this).attr("data-nonce"); 7 8 jQuery(".status-" + post_id).html(" ").addClass("loading-img").show(); 9 10 jQuery.ajax({ 11 type : "post", 12 async : false, 13 dataType : "json", 14 url : wtilp.ajax_url, 15 data : {action: "wti_like_post_process_vote", task : task, post_id : post_id, nonce: nonce}, 16 success: function(response) { 17 jQuery(".lc-" + post_id).html(response.like); 18 jQuery(".unlc-" + post_id).html(response.unlike); 19 jQuery(".status-" + post_id).removeClass("loading-img").empty().html(response.msg); 20 } 21 }); 22 }); 23});
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.