<commit_before>
function isFunction(functionToCheck) {
    var getType = {};
    return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';
}

function getJSON(url, callback, callbackError, thisArg)
{
    if (arguments.length < 4 && isFunction(callbackError)) {
        thisArg = callbackError;
        callbackError = undefined;
    }
    if (callback) {
        callback = callback.bind(thisArg);
    }
    if (callbackError) {
        callbackError = callbackError.bind(thisArg);
    }<commit_msg>fixed little bug<commit_after>
function isFunction(functionToCheck) {
    var getType = {};
    return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';
}

function getJSON(url, callback, callbackError, thisArg)
{
    if (arguments.length < 4 && !isFunction(callbackError)) {
        thisArg = callbackError;
        callbackError = undefined;
    }
    if (callback) {
        callback = callback.bind(thisArg);
    }
    if (callbackError) {
        callbackError = callbackError.bind(thisArg);
    }
{'fraction_non_alphanumeric': 0.11913696060037524, 'fraction_numerical': 0.001876172607879925, 'mean_word_length': 3.4273858921161824, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4287882', 'n_tokens_mistral': 304, 'n_tokens_neox': 300, 'n_words': 64}