1(function ($, root, undefined) { 2 3 $(document).ready(function() { 4 5 'use strict'; 6 7 var touch = $('#touch-menu'); 8 var menu = $('.site-navigation'); 9 10 $(touch).on('click', function(e) { 11 e.preventDefault(); 12 menu.slideToggle(); 13 touch.toggleClass("on"); 14 }); 15 16 $(window).resize(function(){ 17 var w = $(window).width(); 18 if(w > 992 && menu.is(':hidden')) { 19 menu.removeAttr('style'); 20 } 21 }); 22 23 function fullWindow() { 24 $(".fullwindow").css("min-height", $(window).height() - $(".header").height() - $(".footer").height()); 25 }; 26 fullWindow(); 27 28 $(window).resize(function() { 29 fullWindow(); 30 }); 31 32 var homeSlider = new Swiper('.home-slider', { 33 loop: true, 34 speed: 800, 35 autoplay: { 36 delay: 30000, 37 disableOnInteraction: false, 38 }, 39 navigation: { 40 nextEl: '.slide-next', 41 prevEl: '.slide-prev', 42 }, 43 }); 44 45 $(function() { 46 var adjustArticleHeights = (function () { 47 var leftColumnHeight = 0, 48 rightColumnHeight = 0, 49 $articles = $('.feed-wrap article'); 50 for (var i = 0; i < $articles.length; i++) { 51 if (leftColumnHeight > rightColumnHeight) { 52 rightColumnHeight += $articles.eq(i).addClass('right').outerHeight(true); 53 } else { 54 leftColumnHeight += $articles.eq(i).outerHeight(true); 55 } 56 } 57 return $articles; 58 })(); 59 }); 60 61 }); 62 63})(jQuery, this);
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.