1"use strict"; 2 3/* used for filter by category for posts in homepage */ 4jQuery(document).ready(function($){ 5 $(document).on('click', '.js-filter-item > a', function(e){ 6 e.preventDefault(); 7 8 var category = $(this).data('category'); 9 10 $.ajax({ 11 url: wp_ajax.ajax_url, 12 data: { action: 'filter', category: category }, 13 type: 'post', 14 success: function(result) { 15 $('.js-filter').html(result); 16 }, 17 error: function(result) { 18 console.warn(result); 19 } 20 }); 21 }); 22});
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.