1(function($) { 2 var hash = window.location.hash; 3 var container = document.getElementById("masthead"); 4 var wrapper = document.getElementById("site-navigation"); 5 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 $(container).removeClass("toggled"); 10 container.style.backgroundColor = ""; 11 wrapper.style.backgroundColor = ""; 12 target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); 13 if (target.length) { 14 $('html,body').animate({ 15 scrollTop: target.offset().top - 90 16 }, 500); 17 return false; 18 } 19 } 20 }); 21})(jQuery);
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.