1jQuery(document).ready(function($) { 2 3 4jQuery('.pp_like').click(function(e){ 5e.preventDefault(); 6jQuery('.pp_like').hide(); 7jQuery('.post-like-loading').show(); 8var postid=jQuery(this).data('id'); 9//alert(postid); 10var data = { 11action: 'my_action', 12security : aqumajax.security, 13postid: postid 14}; 15jQuery.post(aqumajax.ajaxurl, data, function(res) { 16var result=jQuery.parseJSON( res ); 17 18//alert(res); 19var likes=""; 20likes=result.likecount + " like"; 21jQuery('.pp_like span').text(likes); 22if(result.like ==1){ 23jQuery('.pp_like').addClass('liked'); 24} 25if(result.dislike ==1){ 26jQuery('.pp_like').removeClass('liked'); 27} 28jQuery('.pp_like').show(); 29jQuery('.post-like-loading').hide(); 30}); 31}); 32 33 34});
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.