1 2$( document ).ready(function() { 3var url = window.location; 4// Will only work if string in href matches with location 5 $('ul.nav a[href="'+ url +'"]').parent().addClass('active'); 6// Will also work for relative and absolute hrefs 7 $('ul.nav a').filter(function() { 8 return this.href == url; 9 }).parent().addClass('active'); 10});
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.