<commit_before>$(document).pjax('a:not(.no-pjax)', 'main');
$(document).on('submit', 'form[data-pjax-get]', function(event) {
    event.preventDefault()
    $.pjax({'container': 'main', 'url' :this.action + '?' + $(this).serialize()});
})
$(document)
    .on('pjax:start', function() { $('#load_indicator').animate({opacity:1},200,'easeOutExpo').fadeIn(200); })
    .on('pjax:success', function() { $('#load_indicator').stop(true).fadeOut(200); })
    .on('pjax:error', function(xhr, textStatus, error) {  Materialize.toast(error, 10000)});

$(document).on('ready pjax:complete', function() {
    $(document).activeNavigation("#nav-mobile");
    $('.modal-trigger').leanModal();
});

$('.collapsible').collapsible({
    accordion : false
});

$(".button-collapse").sideNav();
$(".dropdown-button").dropdown();
<commit_msg>Hide load indicator on pjax back<commit_after>$(document).pjax('a:not(.no-pjax)', 'main');
$(document).on('submit', 'form[data-pjax-get]', function(event) {
    event.preventDefault()
    $.pjax({'container': 'main', 'url' :this.action + '?' + $(this).serialize()});
})
$(document)
    .on('pjax:start', function() { $('#load_indicator').animate({opacity:1},200,'easeOutExpo').fadeIn(200); })
    .on('pjax:end', function() { $('#load_indicator').stop(true).fadeOut(200); })
    .on('pjax:error', function(xhr, textStatus, error) {  Materialize.toast(error, 10000)});

$(document).on('ready pjax:complete', function() {
    $(document).activeNavigation("#nav-mobile");
    $('.modal-trigger').leanModal();
});

$('.collapsible').collapsible({
    accordion : false
});

$(".button-collapse").sideNav();
$(".dropdown-button").dropdown();

{'fraction_non_alphanumeric': 0.2640144665461121, 'fraction_numerical': 0.018083182640144666, 'mean_word_length': 5.974789915966387, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5997638', 'n_tokens_mistral': 585, 'n_tokens_neox': 558, 'n_words': 73}