1const list = document.querySelectorAll('table tr'); 2// document.querySelector('input[type="search"]').addEventListener('input', (evt) => { 3// let searchValue = evt.currentTarget.value; 4// if (searchValue.length >= 3) { 5// list.forEach((item) => { 6// let found = item.innerText.toLowerCase().indexOf(searchValue.toLowerCase()) > -1; 7// item.style.display = (found ? null : 'none'); 8// }); 9// 10// } else { 11// list.forEach((item) => item.style.display = null); 12// } 13// 14// }) 15 16document.querySelectorAll('.is-nullable').forEach( el => { 17 el.querySelector('button').addEventListener('click', (e) => { 18 e.preventDefault(); 19 e.currentTarget.previousSibling.value = null; 20 e.currentTarget.previousSibling.dispatchEvent(new Event('input', {bubbles: true})); 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.