<commit_before>var load, success, fail, pack_box;

document.addEvent("domready", function() {
    load = new Fx.Tween($("load-indicator"), {link: "cancel"});
    success = new Fx.Tween($("load-success"), {link: "chain"});
    fail = new Fx.Tween($("load-failure"), {link: "chain"});

    [load,success,fail].each(function(fx) {
        fx.set("opacity", 0)
    });

    pack_box = new Fx.Tween($('pack_box'));
    $('pack_reset').addEvent('click', function() {
        hide_pack()
    });
});

function indicateLoad() {
    //$("load-indicator").reveal();
    load.start("opacity", 1)
}

function indicateFinish() {
    load.start("opacity", 0)
}

function indicateSuccess() {
    indicateFinish();
    notify.alert('{{_("Success")}}.', {
             'className': 'success'
    });<commit_msg>fixed js<commit_after>var load, pack_box;

document.addEvent("domready", function() {
    load = new Fx.Tween($("load-indicator"), {link: "cancel"});
    load.set("opacity", 0);

    pack_box = new Fx.Tween($('pack_box'));
    $('pack_reset').addEvent('click', function() {
        hide_pack()
    });
});

function indicateLoad() {
    //$("load-indicator").reveal();
    load.start("opacity", 1)
}

function indicateFinish() {
    load.start("opacity", 0)
}

function indicateSuccess() {
    indicateFinish();
    notify.alert('{{_("Success")}}.', {
             'className': 'success'
    });
{'fraction_non_alphanumeric': 0.21958243340532757, 'fraction_numerical': 0.004319654427645789, 'mean_word_length': 3.5874587458745872, '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': '5439542', 'n_tokens_mistral': 477, 'n_tokens_neox': 458, 'n_words': 80}