<commit_before>(function($) {

    $(document).ready(function() {
        var binder = function(context) {
            $('div.availability', context).unbind('mouseover')
                                          .bind('mouseover', function() {
                var details = $('div.availability_details', $(this));
                if (!details.is(":visible")) {
                    details.show();
                }
            });
            $('div.availability', context).unbind('mouseout')
                                          .bind('mouseout', function() {
                var details = $('div.availability_details', $(this));
                if (details.is(":visible")) {
                    details.hide();
                }
            });
        }
        if (typeof(window['bdajax']) != "undefined") {
            $.extend(bdajax.binders, {
                buyable_controls_binder: binder
            });
        }
        binder(document);
    });

})(jQuery);<commit_msg>jslint<commit_after>(function($) {

    $(document).ready(function() {
        var binder = function(context) {
            $('div.availability', context).unbind('mouseover')
                                          .bind('mouseover', function() {
                var details = $('div.availability_details', $(this));
                if (!details.is(":visible")) {
                    details.show();
                }
            });
            $('div.availability', context).unbind('mouseout')
                                          .bind('mouseout', function() {
                var details = $('div.availability_details', $(this));
                if (details.is(":visible")) {
                    details.hide();
                }
            });
        };
        if (typeof(window.bdajax) !== "undefined") {
            $.extend(bdajax.binders, {
                buyable_controls_binder: binder
            });
        }
        binder(document);
    });

}(jQuery));
{'fraction_non_alphanumeric': 0.15701219512195122, 'fraction_numerical': 0.0, 'mean_word_length': 1.294871794871795, 'pattern_counts': {'":': 4, '<': 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': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5812331', 'n_tokens_mistral': 490, 'n_tokens_neox': 452, 'n_words': 69}