vendor: 646 bytes, lines 1-32
1$(document).ready(function(){ 2 3 // responsive nav 4 var responsiveNav = $('#toggle-nav'); 5 var navBar = $('.nav-bar'); 6 7 responsiveNav.on('click',function(e){ 8 e.preventDefault(); 9 console.log(navBar); 10 navBar.toggleClass('active') 11 }); 12 13 // pseudo active 14 if($('#docs').length){ 15 var sidenav = $('ul.side-nav').find('a'); 16 var url = window.location.pathname.split( '/' ); 17 var url = url[url.length-1]; 18 19 sidenav.each(function(i,e){ 20 var active = $(e).attr('href'); 21 22 if(active === url){ 23 $(e).parent('li').addClass('active'); 24 return false; 25 } 26 }); 27 } 28 29}); 30 31hljs.configure({tabReplace: ' '}); 32hljs.initHighlightingOnLoad();
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.