<commit_before>﻿/// <reference path="http://code.jquery.com/jquery-1.11.0.js" />

; (function ($) {

    var _lastRequest = new $.Deferred().resolve();

    $.ajaxq = function (url, options) {
        var thisRequest = new $.Deferred();
        var thisPromise = thisRequest.promise();

        thisRequest.isAborted = false;

        thisPromise.abort = function () {
            thisRequest.isAborted = true;
            if (thisRequest._pendingRequest) {
                thisRequest._pendingRequest.abort();
            }
            thisRequest.rejectWith(null, ['aborted']);
        };
        
        var exec = function () {
            if (thisRequest.isAborted) {
                return;
            }

            thisRequest._pendingRequest = $.ajax.call($, url, options);
            thisRequest._pendingRequest.then(function (response) {<commit_msg>add file header<commit_after>﻿/*
 * jQuery simple ajax queue
 * 
 * Copyright (c) 2015 <NAME>
 * Licensed under The MIT License
 * 
 */

/// <reference path="http://code.jquery.com/jquery-1.11.0.js" />

; (function ($) {

    var _lastRequest = new $.Deferred().resolve();
   
    $.ajaxq = function (url, options) {
        var thisRequest = new $.Deferred();
        var thisPromise = thisRequest.promise();

        thisRequest.isAborted = false;

        thisPromise.abort = function () {
            thisRequest.isAborted = true;
            if (thisRequest._pendingRequest) {
                thisRequest._pendingRequest.abort();
            }
            thisRequest.rejectWith(null, ['aborted']);
        };
        
        var exec = function () {
            if (thisRequest.isAborted) {
                return;
            }

            thisRequest._pendingRequest = $.ajax.call($, url, options);
            thisRequest._pendingRequest.then(function (response) {
{'fraction_non_alphanumeric': 0.132208922742111, 'fraction_numerical': 0.006528835690968444, 'mean_word_length': 1.9330143540669857, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '6761103', 'n_tokens_mistral': 511, 'n_tokens_neox': 492, 'n_words': 99}