1jQuery(document).ready(function($) { 2 3 4 if ($("#js-rotating").length) { 5 6 $("#js-rotating").Morphext({ 7 8 speed: 5000, 9 10 animation: "zoomInUp", 11 12 complete: function() { 13 14 console.log("This is called after a phrase is animated in! Current phrase index: " + this.index); 15 16 } 17 18 }); 19 20 } 21 22 23 24 //Onepage menu 25 26 $('#nav .nav-top.onemenu .first a').addClass('smoothanchor'); 27 28 if ($('#nav .nav-top').hasClass('onemenu')) { 29 30 $('#main section').each(function(index, el) { 31 32 if ($(this).attr('data-title') && $(this).attr('id')) { 33 34 var id = $(this).attr('id'); 35 36 var title = $(this).attr('data-title'); 37 38 $('#nav .nav-top.onemenu').append('<li><a href="#' + id + '" class="smoothanchor">' + title + '</a></li>'); 39 40 } 41 42 }); 43 44 } 45 46 47 48 //Shop JS 49 50 $('form.commerce-add-to-cart .form-item-quantity input').attr('type', 'number'); 51 52 $('form.commerce-add-to-cart .form-item-quantity input').attr('min', 1); 53 54 $('form.commerce-add-to-cart .form-item-quantity input').attr('step', 1); 55 56 57 58 if ($('#main').hasClass('christmasv3')) { 59 60 $(document).snowfall({ deviceorientation: true, round: true, minSize: 5, maxSize: 15, flakeCount: 250 }); 61 62 } else if ($('#main').hasClass('christmasv4')) { 63 64 $('#xmas').glauserChristmas({ 65 66 }); 67 68 } 69 70 if($('#header .cart-box').html()) { 71 Updatecart (); 72 } 73 74}); 75 76function Updatecart () { 77 if($('.cart-drop .line-item-quantity-raw').text()) { 78 var l = $('.cart-drop .line-item-quantity-raw').text(); 79 } else { 80 var l = 0; 81 } 82 $('.cart-box .cart-num').text(l); 83 $('.cart-box span.txt span').text(l); 84}
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.