1$(document).ready(function() { 2 3 // Otwieranie wskazanej w adresie URL zakÅadki kart po zaÅadowaniu strony 4 5 if (window.location.hash) { 6 $('.nav.nav-tabs > li > a').each(function() { 7 if ($(this).attr('href') == window.location.hash) { 8 $(this).trigger('click'); 9 return true; 10 } 11 }); 12 } 13 14 15 $('.js-page-slider').owlCarousel({ 16 navText : ["<i class='fa fa-chevron-left'></i>","<i class='fa fa-chevron-right'></i>"], 17 autoplay: true, 18 items: 1, 19 loop: true, 20 nav: true, 21 dots: true, 22 animateIn: 'fadeIn', 23 animateOut: 'fadeOut' 24 }); 25 26 27 $('.owl-carousel').owlCarousel({ 28 navText : ["<i class='fa fa-chevron-left'></i>", "<i class='fa fa-chevron-right'></i>"], 29 autoplay: true, 30 autoplayHoverPause: true, 31 loop: true, 32 nav: true, 33 dots: true, 34 margin: 15, 35 responsive : { 36 0: {items: 1 }, 37 480: { items: 5 } 38 } 39 }); 40 41 42 isCounterCounted = false; 43 44 $('.js-counter-number').each(function () { 45 $(this).data('limit', $(this).text()).text('0'); 46 }); 47 48 49 $('.js-counter-number').waypoint(function() { 50 if ( ! isCounterCounted) { 51 $('.js-counter-number').each(function() { 52 53 var item = $(this); 54 55 $({countNum: 0}).animate({countNum: $(item).data('limit')}, { 56 duration: 1500, 57 easing:'linear', 58 step: function() { 59 $(item).text(Math.floor(this.countNum)); 60 }, 61 62 complete: function() { 63 $(item).text(this.countNum); 64 } 65 }); 66 }); 67 68 isCounterCounted = true; 69 } 70 71 }, { offset: '70%' }); 72 73 74 $('.js-countdown').each(function() { 75 76 var countDown = $(this); 77 var countdownLabel = $(countDown).data('label'); 78 79 $(countDown).countdown($(countDown).data('date'), function(event) { 80 81 if (event.elapsed) 82 $(countDown).remove(); 83 84 $(this).html(event.strftime(((countdownLabel !== '') ? '<div class="banner__countdown-label">' + countdownLabel + '</div>' : '') 85 + '<div class="countdown"><div class="countdown__number">%D</div><div class="countdown__label">dni</div></div>' 86 + '<div class="countdown"><div class="countdown__number">%H</div><div class="countdown__label">godzin</div></div>' 87 + '<div class="countdown"><div class="countdown__number">%M</div><div class="countdown__label">minut</div></div>' 88 + '<div class="countdown"><div class="countdown__number">%S</div><div class="countdown__label">sekund</div></div>')); 89 }); 90 }); 91 92});
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.