<commit_before>$(window).load(function(){

	/*
	 *	General Functions
	 */


	/* Flexslider for related blocks */
	$('.related-slider').flexslider({
		animation: "slide",
		animationLoop: false,
		slideshow: false,
		controlNav: false,
		itemWidth: 200,
		itemMargin: 15
	});

	/*
	 *	Instant Search Functions
	 */

	$("#series-filter").keyup(function(){
		// Retrieve the input field text and reset the count to zero
		var filter = $(this).val(), count = 0;

		// Loop through the comment list
		$(".all-series ul li a p").each(function(){


			// If the list item does not contain the text phrase fade it out
			if ($(this).text().search(new RegExp(filter, "i")) < 0) {
				$(this).parent('a').parent('li').fadeOut();

			// Show the list item if the phrase matches and increase the count by 1
			} else {
				$(this).parent('a').parent('li').fadeIn();
				count++;
			}
		});

		$('.no-results').hide();

		// Update the count
        var numberItems = count;
        if (count == 0) {
        	$('.no-results').fadeIn();
        }
	});

	/*
	 *	Reader Functions
	 */

	/* Lazy Load */
	var lazyImages = $('.reader img.lazy-load');
	// console.log(lazyImages);
	lazyImages[0].src = lazyImages[0].getAttribute('data-source');
	for (i = 1; i < 3; i++) {
		lazyImages[i].src = lazyImages[i].getAttribute('data-source');
	}

	/* Flexslider */
	$('.reader-slider').flexslider({
		animation: "fade",<commit_msg>Code style fixes<commit_after>$(window).load(function(){

	/*
	 *	General Functions
	 */

	/* Flexslider for related blocks */
	$('.related-slider').flexslider({
		animation: "slide",
		animationLoop: false,
		slideshow: false,
		controlNav: false,
		itemWidth: 200,
		itemMargin: 15
	});

	/*
	 *	Instant Search Functions
	 */

	$("#series-filter").keyup(function(){
		// Retrieve the input field text and reset the count to zero
		var filter = $(this).val(), count = 0;

		// Loop through the comment list
		$(".all-series ul li a p").each(function(){
			// If the list item does not contain the text phrase fade it out
			if ($(this).text().search(new RegExp(filter, "i")) < 0) {
				$(this).parent('a').parent('li').fadeOut();

			// Show the list item if the phrase matches and increase the count by 1
			} else {
				$(this).parent('a').parent('li').fadeIn();
				count++;
			}
		});

		$('.no-results').hide();

		// Update the count
        var numberItems = count;
        if (count == 0) {
        	$('.no-results').fadeIn();
        }
	});

	/*
	 *	Reader Functions
	 */

	/* Lazy Load */
	var lazyImages = $('.reader img.lazy-load');
	lazyImages[0].src = lazyImages[0].getAttribute('data-source');
	for (i = 1; i < 3; i++) {
		lazyImages[i].src = lazyImages[i].getAttribute('data-source');
	}

	/* Flexslider */
	$('.reader-slider').flexslider({
		animation: "fade",
{'fraction_non_alphanumeric': 0.19030520646319568, 'fraction_numerical': 0.00933572710951526, 'mean_word_length': 2.9686609686609686, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4714116', 'n_tokens_mistral': 1040, 'n_tokens_neox': 896, 'n_words': 240}