<commit_before>(function($) {
    $.fn.titleAsLabel = function(settings) {
        //var defaultSettings = {'foo': 'bar'};
        //var settings = $.extend(defaultSettings, settings);

        this.each(function () {
            var input = $(this);
            var inputbox_title = input.attr('title');
            input.click(function () {
                if (input.val() === inputbox_title) {
                    input.val("");
                }
            }).blur(function () {
                if (input.val() === "") {
                    input.val(inputbox_title);
                }
            });
            
            input.blur();
            
            input.closest("form").submit(function() {
                input.click();
            });
        });

        return this;
};
})(jQuery);
<commit_msg>+ "use strict"; added<commit_after>"use strict";
(function($) {
    $.fn.titleAsLabel = function(settings) {
        //var defaultSettings = {'foo': 'bar'};
        //var settings = $.extend(defaultSettings, settings);

        this.each(function () {
            var input = $(this);
            var inputbox_title = input.attr('title');
            input.click(function () {
                if (input.val() === inputbox_title) {
                    input.val("");
                }
            }).blur(function () {
                if (input.val() === "") {
                    input.val(inputbox_title);
                }
            });
            
            input.blur();
            
            input.closest("form").submit(function() {
                input.click();
            });
        });

        return this;
};
})(jQuery);

{'fraction_non_alphanumeric': 0.16165865384615385, 'fraction_numerical': 0.0, 'mean_word_length': 1.2622282608695652, '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': '4973820', 'n_tokens_mistral': 439, 'n_tokens_neox': 416, 'n_words': 71}