1document.addEventListener('apz:added', () => { 2 const miniCart = document.getElementById('mini-cart') 3 if(miniCart && miniCart.open) { 4 fetch(miniCart.dataset.url) 5 .then(response => response.text()) 6 .then(html => { 7 miniCart.innerHTML = miniCart.getSectionInnerHTML(html, '.shopify-section'); 8 }) 9 .catch(e => { 10 console.error(e); 11 }); 12 miniCart.open(); 13 } 14})
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.