<commit_before>var imageSelector = [
    'tr:not(.parent) td.indexcolname a[href$=".png"]',
    'tr:not(.parent) td.indexcolname a[href$=".jpg"]',
    'tr:not(.parent) td.indexcolname a[href$=".jpeg"]',
].join(', ');

lightGallery(document.getElementById('indexlist'), {
    selector: imageSelector,
    mode: 'lg-slide',
    hideBarsDelay: 2000,
    loop: false,
    hideControlOnEnd: true,
    download: true,
    cssEasing : 'cubic-bezier(0.25, 0, 0.25, 1)'
});<commit_msg>fix: add gif extension to image gallery viewer<commit_after>var imageSelector = [
    'tr:not(.parent) td.indexcolname a[href$=".png"]',
    'tr:not(.parent) td.indexcolname a[href$=".jpg"]',
    'tr:not(.parent) td.indexcolname a[href$=".gif"]',
].join(', ');

lightGallery(document.getElementById('indexlist'), {
    selector: imageSelector,
    mode: 'lg-slide',
    hideBarsDelay: 2000,
    loop: false,
    hideControlOnEnd: true,
    download: true,
    cssEasing : 'cubic-bezier(0.25, 0, 0.25, 1)'
});
{'fraction_non_alphanumeric': 0.19410569105691056, 'fraction_numerical': 0.024390243902439025, 'mean_word_length': 4.184210526315789, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7536457', 'n_tokens_mistral': 390, 'n_tokens_neox': 357, 'n_words': 67}