1import { Foldable } from './modules/foldable.js' 2import { slugify } from './modules/slugify.js' 3import { quickSearch } from './modules/search.js' 4import { addNoticeTitle } from './modules/notices.js' 5 6console.log('Common libraries: %cloaded', 'color: green; font-weight: bold;') 7 8// Failsafe for gettext() minimal functionality 9if (!('gettext' in window) || (typeof window.gettext === 'undefined')) { 10 console.log('Warning: %cgettext() is not loaded in this app.', 'color: orange; font-weight: bold;') 11 window.gettext = i => i 12} 13 14// eslint-disable-next-line 15window.gadjo_js = window.gadjo_js || {} 16window.gadjo_js.Foldable = Foldable 17window.gadjo_js.slugify = slugify 18window.gadjo_js.quickSearch = quickSearch 19window.gadjo_js.addNoticeTitle = addNoticeTitle 20 21export { 22 Foldable, 23}
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.