1 2$("#searchAddress").on("input", function() { 3 4 //console.log($(this).val()); 5 6 var search = $(this).val().toLowerCase(); 7 //console.log(search); 8 9 $("div.name").each(function (index, value) { 10 //console.log(index, $(value)); 11 //console.log($(value).text()); 12 var name = $(value).text().replace(/\s+/g, " "); 13 //console.log(name); 14 //console.log($(value).parent().parent().parent().hasClass( "col-sm-6" )); 15 16 if ($(value).parent().parent().parent().hasClass( "col-sm-6" )) { 17 $(value).parent().parent().parent().show(); 18 } 19 else { 20 $(value).parent().parent().show(); 21 } 22 if (name.toLowerCase().indexOf(search) < 0) { 23 if ($(value).parent().parent().parent().hasClass( "col-sm-6" )) { 24 $(value).parent().parent().parent().hide(); 25 } 26 else { 27 $(value).parent().parent().hide(); 28 } 29 } 30 }); 31 32 $("h3.first-letter").each(function (index, value) { 33 $(value).show(); 34 if (search.length>1) { 35 $(value).hide(); 36 } 37 }); 38});
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.