1function headerBasketUpdaterCallbackScript() { 2 if (window.headerBasketUpdaterCallbackScriptIncluded) { 3 // заÑиÑа Ð¾Ñ Ð¿Ð¾Ð´ÐºÐ»ÑÑÐµÐ½Ð¸Ñ ÑкÑипÑа дваждÑ, 4 // ибо по ÑмолÑÐ°Ð½Ð¸Ñ Ð¾Ð½ подклÑÑалÑÑ Ð² поле "код в Ñеге head" 5 // на ÑÑÑаниÑе Ð´Ð»Ñ Ð²ÑÑавки, поÑом бÑл вÑнеÑен в код 6 return; 7 } 8 window.headerBasketUpdaterCallbackScriptIncluded = true; 9 10 window['emarket.updateCart.url'] = '/udata/emarket/getOrderWithConvertedTotal/.json'; 11 window['emarket.updateCart.dataType'] = 'json'; 12 window['emarket.updateCart.callback'] = function(data) { 13 var totalPrice = data.summary.amount == 0 ? "ÐаÑа коÑзина пÑÑÑа" : data.summary['total-price']; 14 if (data.summary.amount > 0) { 15 $('#header_basket .cart_items').removeClass('hidden'); 16 $('#header_basket .header_card_currency').show(); 17 } else { 18 $('#header_basket .cart_items').addClass('hidden'); 19 $('#header_basket .header_card_currency').hide(); 20 } 21 $('#header_basket .cart_items').text(data.summary.amount); 22 $('#header_basket .cart_price').text((typeof totalPrice === 'string') ? totalPrice : parseFloat(totalPrice).toFixed(2) + ' '); 23 $('.sticker_cart .cart_items').text(data.summary.amount); 24 }; 25} 26headerBasketUpdaterCallbackScript();
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.