1jQuery(document).ready(function($){ 2 "use strict"; 3 $('.cms-grid-wraper').each(function(){ 4 var $this = $(this); 5 var $id = $(this).attr('id'); 6 var is_entry_like = null; 7 $this.find('a.page-numbers').on('click',function(){ 8 $this.fadeTo('slow',0.3); 9 var $link = $(this).attr('href'); 10 jQuery.get($link,function(data){ 11 $this.html($(data).find('#'+$id).html()); 12 $this.fadeTo('slow',1); 13 $('.entry-like').on('click', function (event) { 14 var bt_like = $(this); 15 is_entry_like = $(this); 16 var post_id = bt_like.attr('data-id'); 17 18 if(post_id != undefined && post_id != '') { 19 $.post(ajax_data.url, { 20 'action' : 'cms_post_like', 21 'id' : post_id 22 }, function(response) { 23 if(response != ''){ 24 bt_like.find('i').attr('class', 'fa fa-heart') 25 bt_like.find('span').html(response); 26 } 27 }); 28 } 29 event.preventDefault(); 30 }); 31 32 }); 33 jQuery('audio,video').mediaelementplayer(); 34 return false; 35 }); 36 }) 37});
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.