<commit_before>(function() {
    var selector = 'img,btn,badge-category,icon';
    var success = function() {
        $(selector).stop().animate(
            {rotation: 360},
            {
                duration: 2000,
                step: function(now, fx) {
                    $(this).css({"transform": "rotate("+now+"deg)"});
                },
                always: function() {
                    $(this).css({"transform": "rotate("+0+"deg)"});
                }

            }
        );<commit_msg>fixed bug: avatars will only rotate on the first try<commit_after>(function() {
    var selector = 'img,btn,badge-category,icon';
    var success = function() {
        $(selector).stop().animate(
            {rotation: 360},
            {
                duration: 2000,
                step: function(now, fx) {
                    $(this).css({"transform": "rotate("+now+"deg)"});
                },
                always: function() {
                    $(this).css({"transform": "rotate("+0+"deg)"});
                    $(this).rotation = 0;
                }

            }
        );
{'fraction_non_alphanumeric': 0.167420814479638, 'fraction_numerical': 0.015384615384615385, 'mean_word_length': 1.3632478632478633, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1076179', 'n_tokens_mistral': 317, 'n_tokens_neox': 281, 'n_words': 53}