<commit_before>$(function() {
  var toggleVisibility = $('section').find('h3').find('a');

  toggleVisibility.on('click', function(event) {
    event.preventDefault();
    event.stopPropagation();
    // find the content whose visibility will be toggled
    var thisAnchor = $(this);
    var parentSection = thisAnchor.parents('section');
    // leave the title in the h3 tags showing so the user will know<commit_msg>Bugfix in showHide.js. Previously, when starting on index.html or another similar page, and navigating to workExperience.html, the show/hide anchors would be broken. Fixed the event listener.<commit_after>$(function() {
  var mainTextDiv = $('#mainText');

  mainTextDiv.on('click', 'h3 a', function(event) {
    event.preventDefault();
    event.stopPropagation();
    // find the content whose visibility will be toggled
    var thisAnchor = $(this);
    var parentSection = thisAnchor.parents('section');
    // leave the title in the h3 tags showing so the user will know
{'fraction_non_alphanumeric': 0.11883182275931521, 'fraction_numerical': 0.004028197381671702, 'mean_word_length': 4.150259067357513, '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': '6844887', 'n_tokens_mistral': 268, 'n_tokens_neox': 265, 'n_words': 96}