<commit_before>Modernizr.load([{
    load: {
        'jquery'    :   'js/jquery-1.6.2.min.js',
        'jqueryui'  :   'js/jquery-ui-1.8.16.custom.min.js'
        },

    complete: function () {
        if (correct) {
            onComplete();
        }
    }
}]);


function onComplete() {
    baseUrl = "http://127.0.0.1:8000/";

    $
    function doAjaxCall(type, url, data, callback) {
        $.ajax({
            type: type,
            url: url,
            dataType: "json",
            data: data,
            success: callback
        });
    }

    function test(anyvar) {
        console.log(anyvar);
    }

    $("#pautas").click(function () {
        doAjaxCall("GET", baseurl+"api/pautas/",data,test);
    });
}<commit_msg>removing unused variable<commit_after>Modernizr.load([{
    load: {
        'jquery'    :   'js/jquery-1.6.2.min.js',
        'jqueryui'  :   'js/jquery-ui-1.8.16.custom.min.js'
        },

    complete: function () {
        onComplete();
    }
}]);


function onComplete() {
    baseUrl = "http://127.0.0.1:8000/";

    $
    function doAjaxCall(type, url, data, callback) {
        $.ajax({
            type: type,
            url: url,
            dataType: "json",
            data: data,
            success: callback
        });
    }

    function test(anyvar) {
        console.log(anyvar);
    }

    $("#pautas").click(function () {
        doAjaxCall("GET", baseurl+"api/pautas/",data,test);
    });
}
{'fraction_non_alphanumeric': 0.174931129476584, 'fraction_numerical': 0.023415977961432508, 'mean_word_length': 1.6370235934664248, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '509720', 'n_tokens_mistral': 520, 'n_tokens_neox': 496, 'n_words': 74}