1(function($) { 2 "use strict"; // Start of use strict 3 $(window).ready(function() { 4 $('.on-highlight .dropdown-trigger ul.dropdown-target li a').bind('click',function(ev) { 5 var newTabId = $(this).data('category'); 6 $('.cat-highlight-tab').removeClass('active'); 7 $('#cat-highlight-'+newTabId).addClass('active'); 8 $('.trigger-name').text($(this).text()); 9 $('.on-highlight .dropdown-trigger ul.dropdown-target li').removeClass('selected'); 10 $(this).parent().addClass('selected'); 11 $(this).blur(); ev.preventDefault(); 12 }); 13 $('.on-highlight a.see-all').bind('click',function(ev) { 14 document.location.href = $('.on-highlight .dropdown-trigger ul.dropdown-target li.selected a').attr('href'); 15 $(this).blur(); ev.preventDefault(); 16 }); 17 }); 18 $(window).on('load',function() { 19 if ($('.home-carousel').length) { 20 var mySwiper = document.querySelector('.home-carousel').swiper; 21 mySwiper.params.autoplay.delay = 4000; 22 mySwiper.autoplay.start(); 23 } 24 }); 25})(jQuery); // End of use strict
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.