<commit_before>// Helper singleton for the easy pushing of messages to message displays.

// Namespace
var rp = rp || {};
rp.msg = rp.msg || {};

// Singleton
rp.msg.chat = new function(){
  "use strict";
  
  this.$chatDisplay = $('#chat-display');
  this.$transcriptDisplay = $('#transcript-display');
  
  this.pushMessage(_channel, _message) {
    if(_channel === 'user' || _channel === 'server') {
      $chatDisplay.append(_message);
    } else if(_channel === 'character') {
      $transcriptDisplay.append(_message);
    }
    return;
  }
};
<commit_msg>Fixed late night carelessness.<commit_after>// Helper singleton for the easy pushing of messages to message displays.

// Namespace
var rp = rp || {};
rp.msg = rp.msg || {};

// Singleton
rp.msg.chat = new function(){
  "use strict";
  
  this.$chatDisplay = $('#chat-display');
  this.$transcriptDisplay = $('#transcript-display');
  
  this.pushMessage = function(_channel, _message) {
    if(_channel === 'user' || _channel === 'server') {
      this.$chatDisplay.append(_message);
    } else if(_channel === 'character') {
      this.$transcriptDisplay.append(_message);
    }
    return;
  };
};

{'fraction_non_alphanumeric': 0.17454858125537404, 'fraction_numerical': 0.0, 'mean_word_length': 3.4597701149425286, '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': '3370937', 'n_tokens_mistral': 359, 'n_tokens_neox': 350, 'n_words': 84}