<commit_before>Crafty.c('StoryNode',{
  _addHTML: function(html) {
    this.append('<div class="storynode htmlcontainer">'+html+'</div>');
  },
  
  _onClick: function(e) {
    var target = e.target;
    if( target.className === 'storynode optionbutton' ) {
      Crafty.trigger('StoryOptionSelect',target.value);
    }
  },
    
  init: function() {
    this.requires('HTML, Mouse')<commit_msg>added 2D and DOM components to storynode<commit_after>Crafty.c('StoryNode',{
  _addHTML: function(html) {
    this.append('<div class="storynode htmlcontainer">'+html+'</div>');
  },
  
  _onClick: function(e) {
    var target = e.target;
    if( target.className === 'storynode optionbutton' ) {
      Crafty.trigger('StoryOptionSelect',target.value);
    }
  },
  
    
  init: function() {
    this.requires('2D, DOM, HTML, Mouse')
{'fraction_non_alphanumeric': 0.1712907117008444, 'fraction_numerical': 0.0024125452352231603, 'mean_word_length': 3.7701149425287355, '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': '6701557', 'n_tokens_mistral': 285, 'n_tokens_neox': 277, 'n_words': 47}