<commit_before>$(document).ready( function() {
  $('nav').click(function() {
    $(this).toggleClass('activeState');
  });
});

articleArray = [];

function BuildArticle (a,b,c) {
  this.title = a;
  this.img = b;
  this.narrativeHTML = c;
  articleArray.push(this);
};

var dreamforce = new BuildArticle('DreamForce','images/dreamforce.jpg','<p>In 2014 I was asked to speak on a pannel at Dreamforce regarding AppDynamics recent implementation of Callidus commission systems.</p>');

$(document).ready( function() {
  $('#firstHeader').text(articleArray[0].title);
  $('#firstImg').attr('src', articleArray[0].img);
  $('#firstPost').html(function(){
    return '<p>' + articleArray[0].narrativeHTML + '</p>';
  });
});

$(document).ready( function() {
  for (var i = 0; i < articleArray.length; i++) {
    var section = $('<section></section>');
    var h1 = $('<h1>' + articleArray[i].title + '</h1>');
    var img = $('<img>');
    var div = $('<div>' + articleArray[i].narrativeHTML + '</div>');
    div.addClass('blogText');
    img.attr('src',articleArray[i].img);
    section.append(h1);
    section.append(img);
    section.append(div);
    $('main').append(section);
  }
});<commit_msg>added second article<commit_after>$(document).ready( function() {
  $('nav').click(function() {
    $(this).toggleClass('activeState');
  });
});

articleArray = [];

function BuildArticle (a,b,c) {
  this.title = a;
  this.img = b;
  this.narrativeHTML = c;
  articleArray.push(this);
};

var dreamforce = new BuildArticle('DreamForce','images/dreamforce.jpg','<p>In 2014 I was asked to speak on a pannel at Dreamforce regarding AppDynamics recent implementation of Callidus commission systems.</p>');
var hawaii = new BuildArticle('Hawaii Life','images/hawaii.jpg','<p>In 2014 my wife an I traveled to Hawaii with my brother to island of Oahu. This was as celebration after I completed my final round of intensive chemo. We spend almost a week going to the beach everyday and playing by the pool. One night we went to a luau and watch hula dancers as we enjoyed a nice meal.</p>');

$(document).ready( function() {
  for (var i = 0; i < articleArray.length; i++) {
    var section = $('<section></section>');
    var h1 = $('<h1>' + articleArray[i].title + '</h1>');
    var img = $('<img>');
    var div = $('<div>' + articleArray[i].narrativeHTML + '</div>');
    div.addClass('blogText');
    img.attr('src',articleArray[i].img);
    section.append(h1);
    section.append(img);
    section.append(div);
    $('main').append(section);
  }
});
{'fraction_non_alphanumeric': 0.19189933149823044, 'fraction_numerical': 0.009830908375933936, 'mean_word_length': 4.322175732217573, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 25, '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': '5760982', 'n_tokens_mistral': 838, 'n_tokens_neox': 813, 'n_words': 215}