1$(document).ready(function() { 2 $('body').on('click', 'a.wac-btn.wac-item', function(e) { 3 var elem = $(this); 4 5 if(elem.attr('href') == '#') { 6 return false; 7 } else if(elem.attr('data-stats') == 1) { 8 $.ajax({ 9 timeout: 5000, 10 url: elem.attr('data-url'), 11 type: "GET", 12 data: { 13 itemId: $(this).attr('data-item-id') 14 }, 15 success: function(response){ 16 //console.log('Stats collected'); 17 }, 18 error: function(response){ 19 //console.log(response); 20 } 21 }); 22 } 23 }); 24});
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.