<commit_before>(function ($) {

    $.fn.ajaxForm = function (options) {
        options = $.extend({}, $.fn.ajaxForm.defaults, options);

        function callHandler(name, form, arguments) {
            if (typeof options[name] === "function") {
                options[name].apply(form, [].slice.call(arguments, 0));
            }
        }

        return this.filter("form").each(function () {
            var settings, form = this;

            settings = $.extend({}, {
                url: $(this).prop("action"),
                type: $(this).prop("method"),
                data: $(this).serialize()
            }, options);

            dataType = $(this).attr("data-dataType");
            if (typeof dataType === "string") {
                settings.dataType = dataType;
            }<commit_msg>use strict<commit_after>(function ($) {

    "use strict";

    $.fn.ajaxForm = function (options) {
        options = $.extend({}, $.fn.ajaxForm.defaults, options);

        function callHandler(name, form, args) {
            if (typeof options[name] === "function") {
                options[name].apply(form, [].slice.call(args, 0));
            }
        }

        return this.filter("form").each(function () {
            var settings, dataType, form = this;

            settings = $.extend({}, {
                url: $(this).prop("action"),
                type: $(this).prop("method"),
                data: $(this).serialize()
            }, options);

            dataType = $(this).attr("data-dataType");
            if (typeof dataType === "string") {
                settings.dataType = dataType;
            }
{'fraction_non_alphanumeric': 0.16768665850673195, 'fraction_numerical': 0.0012239902080783353, 'mean_word_length': 1.7069536423841059, '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': '192741', 'n_tokens_mistral': 442, 'n_tokens_neox': 417, 'n_words': 88}