<commit_before>// concept borrowed from http://chalbach.com/campfire-avatars
kindling.module(function () {
	'use strict';

	var isEnabled = false;

	function getAvatar($person) {
		var $author = $person.find('.author');
		if (!$author.is(':visible')) {
			return null;
		}

		var el = document.createElement('img');
		$(el).attr('src', $author.data('avatar'))
			.addClass('avatar');
		return el;
	}

	function moveAuthorToBody($message) {
		var $author = $message.find('.author');

		$author.data('short-name', $author.text());
		$author.html('');

		if ($author.css('display') === 'none') {
			return;
		}

		var $bodyAuthor = $(document.createElement('h4'));<commit_msg>Fixed an issue that sometimes caused avatars to not display in new messages.<commit_after>// concept borrowed from http://chalbach.com/campfire-avatars
kindling.module(function () {
	'use strict';

	var isEnabled = false;

	function getAvatar($person) {
		var $author = $person.find('.author');
		if ($author.css('display') === 'none') {
			return null;
		}

		var el = document.createElement('img');
		$(el).attr('src', $author.data('avatar'))
			.addClass('avatar');
		return el;
	}

	function moveAuthorToBody($message) {
		var $author = $message.find('.author');

		$author.data('short-name', $author.text());
		$author.html('');

		if ($author.css('display') === 'none') {
			return;
		}

		var $bodyAuthor = $(document.createElement('h4'));
{'fraction_non_alphanumeric': 0.19873150105708245, 'fraction_numerical': 0.0014094432699083862, 'mean_word_length': 4.338345864661654, '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': '3605570', 'n_tokens_mistral': 512, 'n_tokens_neox': 456, 'n_words': 98}