1 2$(document).ready(function() { 3 4 // Smooth scrolling 5 $(function() { 6 $('a[href*="#"]:not([href="#"])').click(function() { 7 if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { 8 var target = $(this.hash); 9 target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); 10 11 if (target.length) { 12 $('html, body').animate({ 13 scrollTop: target.offset().top 14 }, 1000, 'easeInOutExpo'); 15 16 if ( $(this).parents('.nav-menu').length ) { 17 $('.nav-menu .menu-active').removeClass('menu-active'); 18 $(this).closest('li').addClass('menu-active'); 19 } 20 21 if ( $('body').hasClass('mobile-nav-active') ) { 22 $('body').removeClass('mobile-nav-active'); 23 $('#mobile-nav-toggle i').toggleClass('fa-times fa-bars'); 24 $('#mobile-body-overly').fadeOut(); 25 } 26 return false; 27 } 28 } 29 }); 30 }); 31 32 33 34 35 36 // Counting numbers 37 38 $('[data-toggle="counter-up"]').counterUp({ 39 delay: 10, 40 time: 1000 41 }); 42 43 44 45 // jQuery counterUp 46 if(jQuery().counterUp) { 47 $('[data-counter-up]').counterUp({ 48 delay: 20, 49 }); 50 } 51 52 53 54 55});
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.