1(function($) { 2 "use strict"; 3 4 $('a.scrollspy-btn[href*="#"]:not([href="#"])').on('click', function() { 5 if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) { 6 var target = $(this.hash); 7 target = target.length ? target : $('[name=' + this.hash.slice(1) + ']'); 8 if (target.length) { 9 $('html, body').animate({ 10 scrollTop: (target.offset().top - 100) 11 }, 1000, "easeInOutExpo"); 12 return false; 13 } 14 } 15 }); 16 17 })(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.