<commit_before>$(document).ready(function() {
    $('#buttonTask').bind('click', function() {

        var formSerialize = $('#addTask').serialize();

        $.ajax({
            url: $('#url').val(),
            type: "post",
            data: formSerialize
        }).done(function (response, textStatus, jqXHR){
            if(response.status == "OK") {
                window.location.reload();
            }
        });
    });

    $('#updateTaskList').bind('click', function() {
        $('#updateFormTaskList').toggle();
    });

    $('#clickUpdateTaskList').bind('click', function() {
        var formSerializeTaskList = $('#formUpdate').serialize();

        $.ajax({
            url: $('#url').val(),
            type: "post",
            data: formSerializeTaskList
        }).done(function (response, textStatus, jqXHR){
            if(response.status == "OK") {
                window.location.reload();
            }
        });
    });

    $('.updateTask').bind('click', function() {
        $('#updateTaskDisplay').toggle();
    });

    $('#clickUpdateTask').bind('click', function () {
        var formSerializeTask = $('#formUpdateTask').serialize();
        
        $.ajax({
            url: $('#urlTask').val(),
            type: "post",
            data: formSerializeTask
        }).done(function (response, textStatus, jqXHR){
            if(response.status == "OK") {
                window.location.reload();<commit_msg>finalisation du js<commit_after>$(document).ready(function() {
    $('#buttonTask').bind('click', function() {

        var formSerialize = $('#addTask').serialize();

        $.ajax({
            url: $('#url').val(),
            type: "post",
            data: formSerialize
        }).done(function (response, textStatus, jqXHR){
            if(response.status == "OK") {
                window.location.reload();
            }
        });
    });

    $('#updateTaskList').bind('click', function() {
        $('#updateFormTaskList').toggle();
    });

    $('#clickUpdateTaskList').bind('click', function() {
        var formSerializeTaskList = $('#formUpdate').serialize();

        $.ajax({
            url: $('#url').val(),
            type: "post",
            data: formSerializeTaskList
        }).done(function (response, textStatus, jqXHR){
            if(response.status == "OK") {
                window.location.reload();
            }
        });
    });
    
    $('.updateTask').bind('click', function() {
        $('#updateTaskDisplay').toggle();
    });

    $('#clickUpdateTask').bind('click', function () {
        var formSerializeTask = $('#formUpdateTask').serialize();

        $.ajax({
            url: $('#urlTask').val(),
            type: "post",
            data: formSerializeTask
        }).done(function (response, textStatus, jqXHR){
            if(response.status == "OK") {
                window.location.reload();
{'fraction_non_alphanumeric': 0.19290389252497417, 'fraction_numerical': 0.0, 'mean_word_length': 1.9723643807574207, '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': '712695', 'n_tokens_mistral': 758, 'n_tokens_neox': 761, 'n_words': 129}