1function onSwymLoadCallback(swat) { 2 let swym_event = 'sw:addedtocart'; 3 let swym_listener = function (e) { 4 document.dispatchEvent(new CustomEvent('cart:build')); 5 document.dispatchEvent(new CustomEvent('cart:open')); 6 }; 7 8 swat.evtLayer.addEventListener(swym_event, swym_listener); 9} 10window.SwymCallbacks = window.SwymCallbacks || []; 11window.SwymCallbacks.push(onSwymLoadCallback);
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.