<commit_before>'use strict';

var aboutView = {};

aboutView.aboutPopulateFilter = function() {
  $('section').find('.abox').each(function() {
    var acategory, aoptionTag;
    acategory = $(this).attr('data-category');
    aoptionTag = '<option value="' + acategory + '">' + acategory + '</option>';
    if ($('#about-category-filter option[value="' + acategory + '"]').length === 0) {
      $('#about-category-filter').append(aoptionTag);
    }
  });
};
//


aboutView.aboutHandleCategoryFilter = function() {
  $('#about-category-filter').on('change', function() {
    if ($(this).val()) {
      console.log('happening');


      $('section.abox').hide('pulsate', {duration: 1000});

      $('section[data-category="' + $(this).val() + '"]').animate({opacity:1}).delay(500).slideDown('slow');
      $('section[data-category="' + $(this).val() + '"]').effect( "bounce" );
      var $newArticle = ($(this).val());<commit_msg>added timing to slide down<commit_after>'use strict';

var aboutView = {};

aboutView.aboutPopulateFilter = function() {
  $('section').find('.abox').each(function() {
    var acategory, aoptionTag;
    acategory = $(this).attr('data-category');
    aoptionTag = '<option value="' + acategory + '">' + acategory + '</option>';
    if ($('#about-category-filter option[value="' + acategory + '"]').length === 0) {
      $('#about-category-filter').append(aoptionTag);
    }
  });
};
//


aboutView.aboutHandleCategoryFilter = function() {
  $('#about-category-filter').on('change', function() {
    if ($(this).val()) {
      console.log('happening');


      $('section.abox').hide('pulsate', {duration: 1000});

      $('section[data-category="' + $(this).val() + '"]').animate({opacity:1}).delay(650).slideDown('slow');
      $('section[data-category="' + $(this).val() + '"]').effect( "bounce" );
      var $newArticle = ($(this).val());
{'fraction_non_alphanumeric': 0.25066952329941083, 'fraction_numerical': 0.0096411355115158, 'mean_word_length': 4.146005509641873, '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': '1596617', 'n_tokens_mistral': 621, 'n_tokens_neox': 582, 'n_words': 93}