<commit_before>class CommentForm
  constructor: (@thread) ->
    @createElement()
    @bindEvents()

  createElement: ->
    @element = document.createElement('li')
    @element.id = 'comment-form'
    @element.className = 'comment-form'
    @element.innerHTML = "<a class='create'><span>+</span> Leave a note</a><form><a class='cancel'>✖</a><div class='author'><img src=''><span></span></div><textarea placeholder='Leave a note' class='body'></textarea><input type='submit' value='Save'></form>"

  body: ->
    @element.querySelector('.body').value<commit_msg>change comment form copy<commit_after>class CommentForm
  constructor: (@thread) ->
    @createElement()
    @bindEvents()

  createElement: ->
    @element = document.createElement('li')
    @element.id = 'comment-form'
    @element.className = 'comment-form'
    @element.innerHTML = "<a class='create'><span>+</span> Leave a comment</a><form><a class='cancel'>✖</a><div class='author'><img src=''><span></span></div><textarea placeholder='Type here&hellip;' class='body'></textarea><input type='submit' value='Comment'></form>"

  body: ->
    @element.querySelector('.body').value
{'fraction_non_alphanumeric': 0.20767888307155322, 'fraction_numerical': 0.0, 'mean_word_length': 5.2, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 41, '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': '7467866', 'n_tokens_mistral': 351, 'n_tokens_neox': 342, 'n_words': 61}