1$(document).ready(function () { 2 $('#searchInput').on('keydown', function (e) { 3 if (e.key === 'Enter') // the enter key 4 { 5 var str = $("#searchInput").val(); 6 if (str.length > 0) { 7 console.log('yes'); 8 $('#btnSearch').removeClass('disabled'); 9 window.location.replace("/search?t=" + encodeURIComponent(str)); 10 } else if (str.length < 1) { 11 $('#btnSearch').addClass('disabled'); 12 return false; 13 } 14 } 15 }); 16 17}); 18
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.