1$(function() { 2 3 // $('.collapse').collapse('hide'); 4 $('.list-group-item.active').parent().parent('.collapse').collapse('show'); 5 6 7 var pages = new Bloodhound({ 8 datumTokenizer: Bloodhound.tokenizers.obj.whitespace('title'), 9 // datumTokenizer: Bloodhound.tokenizers.whitespace, 10 queryTokenizer: Bloodhound.tokenizers.whitespace, 11 12 prefetch: baseurl + '/search.json' 13 }); 14 15 $('#search-box').typeahead({ 16 minLength: 0, 17 highlight: true 18 }, { 19 name: 'pages', 20 display: 'title', 21 source: pages 22 }); 23 24 $('#search-box').bind('typeahead:select', function(ev, suggestion) { 25 window.location.href = suggestion.url; 26 }); 27 28 29 // Markdown plain out to bootstrap style 30 $('#markdown-content-container table').addClass('table'); 31 $('#markdown-content-container img').addClass('img-responsive'); 32 33 34});
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.