1function fixTableCount(table) { 2 let firstColumns = table.querySelectorAll('tbody td:first-child') 3 Array.from(firstColumns).forEach((td, index) => { 4 td.textContent = index + 1 5 }) 6} 7 8const DATATABLE_OPTIONS = { 9 pageLength: 100, 10 fixedHeader: { 11 header: true, 12 footer: true 13 }, 14 scrollCollapse: true, 15 scrollX: true, 16 scrollY: "50vh", 17 columnDefs: [ 18 { "orderable": false, "targets": 0 } 19 ] 20} 21 22const FLATPICKR_DATE_OPTIONS = { 23 dateFormat: "j-M-Y", 24 defaultDate: "today", 25 locale: { 26 firstDayfWeek: 1 27 } 28} 29 30const MOBILE_INPUT_OPTIONS = { 31 initialCountry: "TZ", 32 formatOnDisplay: true, 33 utilsScript: true, 34 separateDialCode: true, 35 preferredCountries: ['KE', 'UG', 'TZ'] 36}
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.