1 2$(document) 3 .on('mouseup', '.btn-toogle-menu', function(e) { 4 $('body').toggleClass('menu-visible'); 5 }) 6 .on('keypress', 'input', function(e) { 7 var key = e.which; 8 if(key == 13) { 9 $(this).trigger('enterKey'); 10 } 11 }) 12 .on('tap', '.search-btn', function() { 13 var $form = $(this).parents('form:first'); 14 15 if($('input', $form).hasClass('open')) { 16 $form.submit(); 17 } 18 else { 19 $('input', $form).addClass('open'); 20 } 21 }) 22 .on('tap click', '.scroll-to', function (e){ 23 e.preventDefault(); 24 25 var top = 0; 26 if($(this).attr('href') != '/') { 27 top = $($(this).attr('href').replace('/', '')).offset().top; 28 } 29 30 if(!$('body').hasClass('fixed-header')) 31 top -= 0; 32 33 top -= 50; 34 35 $('html, body').animate({ 36 scrollTop: top 37 }, 500); 38 }); 39 40$(window).on('resize init', function() { 41 $('.col-max-height').each(function() { 42 var $row = $(this).parents('.row, .row-spaced').first(); 43 44 $row.children().css({'height': 'auto'}); 45 46 height = 0; 47 $row.children().each(function() { 48 if(height < $(this).outerHeight()) { 49 height = $(this).outerHeight(); 50 } 51 }) 52 53 console.log(height); 54 55 $(this).height(height); 56 $('.bg-image, .max-height', this).height(height); 57 }); 58}); 59 60$(window).trigger('init');
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.