<commit_before>$(document).ready(function () {
    $('.accordion .acc-header').click(function (e) {
        e.preventDefault();

        // Anything Necessary
        //$(this).closest('li').find('img').elevateZoom({scrollZoom : true}); // For Images in the Article Accordion
        //$('aside img').elevateZoom({zoomWindowPosition: 10, zoomWindowOffetx: -10, scrollZoom : true}); // For Images in the Aside Accordion

        var clear = $('<div class="clear"></div>');
        var content = $(this).closest('li').find('.content');
        content.add(clear).appendTo(content);

        var arrow = $(this).find('.arrow');
        var arrowtxt = arrow.text();
        if (arrowtxt == '↓') { // If down arrow
            arrow.text('↑');
        } else if (arrowtxt == '↑'){ // If up arrow
            arrow.text('↓');
        }

        // Open and Close
        $(this).closest('li').find('.content').not(':animated').slideToggle();
    });
});<commit_msg>Remove irrelevant comments from accordion.js<commit_after>$(document).ready(function () {
    $('.accordion .acc-header').click(function (e) {
        e.preventDefault();

        var clear = $('<div class="clear"></div>');
        var content = $(this).closest('li').find('.content');
        content.add(clear).appendTo(content);

        var arrow = $(this).find('.arrow');
        var arrowtxt = arrow.text();
        if (arrowtxt == '↓') { // If down arrow
            arrow.text('↑');
        } else if (arrowtxt == '↑'){ // If up arrow
            arrow.text('↓');
        }

        // Open and Close
        $(this).closest('li').find('.content').not(':animated').slideToggle();
    });
});
{'fraction_non_alphanumeric': 0.20989143546441497, 'fraction_numerical': 0.0024125452352231603, 'mean_word_length': 2.427685950413223, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5308890', 'n_tokens_mistral': 490, 'n_tokens_neox': 482, 'n_words': 103}