1function goToNextPage(node) 2{ 3 var listBlock = BX('items-container'); 4 var navBlock = BX('navigation'); 5 var blockWrapper = listBlock.parentNode; 6 BX.ajax({ 7 method: 'POST', 8 dataType: 'html', 9 url: node.dataset.url, 10 onsuccess: function(response) 11 { 12 var parser = new DOMParser(); 13 var htmlDoc = parser.parseFromString(response, 'text/html'); 14 var orders = htmlDoc.getElementById('items-container').querySelectorAll(".smi-item"); 15 var nav = htmlDoc.getElementById('navigation'); 16 17 for (var i = 0; i < orders.length; i++) 18 { 19 listBlock.appendChild(orders[i]) 20 } 21 navBlock.remove(); 22 23 blockWrapper.appendChild(nav); 24 } 25 }); 26}
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.