1// add bootstrap classes to tables 2$(document).ready(function() { 3 $('table').each(function() { 4 if (document.documentElement.getAttribute("data-theme") == "dark") { 5 $(this).addClass('table-dark'); 6 } else { 7 $(this).removeClass('table-dark'); 8 } 9 10 // only select tables that are not inside an element with "news" (about page) or "card" (cv page) class 11 if($(this).parents('[class*="news"]').length==0 && 12 $(this).parents('[class*="card"]').length==0 && 13 $(this).parents('code').length == 0) { 14 // make table use bootstrap-table 15 $(this).attr('data-toggle','table'); 16 // add some classes to make the table look better 17 // $(this).addClass('table-sm'); 18 $(this).addClass('table-hover'); 19 } 20 }) 21}); 22
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.