<commit_before>(function($) {

    $(document).ready(function() {
        var delivery_address = $('div.delivery_address');
        var toggle = function(input) {
            if (input.attr('type') === 'hidden') {
                delivery_address.show();
                return;
            }
            if (input.is(':checked')) {
                delivery_address.show();
            } else {
                delivery_address.hide();
            }
        };
        var fld_name = "checkout.delivery_address.alternative_delivery";
        var input = $('input[name="' + fld_name + '"]');
        toggle(input);
        input.change(function(event) {
            toggle($(this));
        });
        
        // terms and conditions overlay
        $('a.terms_and_conditions').prepOverlay({
            subtype: 'ajax',
            filter: common_content_filter,
            cssclass: 'overlay-terms-and-condition',
        });
        
    });

}(jQuery));<commit_msg>fix anon JS function call<commit_after>(function($) {

    $(document).ready(function() {
        var delivery_address = $('div.delivery_address');
        var toggle = function(input) {
            if (input.attr('type') === 'hidden') {
                delivery_address.show();
                return;
            }
            if (input.is(':checked')) {
                delivery_address.show();
            } else {
                delivery_address.hide();
            }
        };
        var fld_name = "checkout.delivery_address.alternative_delivery";
        var input = $('input[name="' + fld_name + '"]');
        toggle(input);
        input.change(function(event) {
            toggle($(this));
        });
        
        // terms and conditions overlay
        $('a.terms_and_conditions').prepOverlay({
            subtype: 'ajax',
            filter: common_content_filter,
            cssclass: 'overlay-terms-and-condition',
        });
        
    });

})(jQuery);
{'fraction_non_alphanumeric': 0.14636642784032752, 'fraction_numerical': 0.0, 'mean_word_length': 1.645466847090663, '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': '3302011', 'n_tokens_mistral': 539, 'n_tokens_neox': 521, 'n_words': 83}