1(function($) { 2 $(function(){ 3 4 var path = '/api/recent/'; 5 6 /* blog */ 7 $.ajax( 8 path + "blog/", { 9 type : 'GET', 10 dataType : 'json', 11 success : function(json){ 12 var data = json.data; 13 console.log(data) 14 Object.keys(data).forEach(function(key) { 15 var blog_category_id = 'blog_category_'+key; 16 var $span = $('#' + blog_category_id); 17 18 if(data[key].status == 1){ 19 $span.parents('li').addClass('new'); 20 $span.closest('.date').show(); 21 } else { 22 $span.closest('.date').hide(); 23 } 24 }) 25 } 26 } 27 ); 28 }); 29})(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.