<commit_before>var test = this
var tags = []

      // --------------PostIt def-------------------
var PostIt = function( board, x, y, width, height) {
    this.x = x;
    this.y = y;
    this.height = height;
    this.width = width;
    tags.push(this);
    board.append("<div class = 'post-it' id=" + tags.length + "></div>");
    this.$elem = $('.post-it').last();
    var position = this.$elem.position();
    this.$elem
      .css('left', this.x)
      .css('top', this.y)
      .css('height', this.height)
      .css('width', this.width)
      .append("<div class='header'><a class='to-image'>" + tags.length + ".  </a> <a class='destroy'>X</a></div>")
      .append("<div class='content'></div>")
      .click(function(e) {
        e.stopPropagation()
      })
      .draggable({containment: "parent"})
      .resizable();
    this.$elem.on('click', '.destroy', function(e) {
      e.stopPropagation();
      $(this).closest('.post-it').remove();
      for(i = 0; i < $('.header').length; i++) {
        $('.to-image').eq(i).text((i + 1) + ".  ");
      }
      tags.pop();
    });
}


App.WorksheetController = Ember.ObjectController.extend({<commit_msg>header is gone in the input feilds<commit_after>var test = this
var tags = []

      // --------------PostIt def-------------------
var PostIt = function( board, x, y, width, height) {
    this.x = x;
    this.y = y;
    this.height = height;
    this.width = width;
    tags.push(this);
    board.append("<div class = 'post-it' id=" + tags.length + "><a class='destroy'>X</a></div>");
    this.$elem = $('.post-it').last();
    var position = this.$elem.position();
    this.$elem
      .css('left', this.x)
      .css('top', this.y)
      .css('height', this.height)
      .css('width', this.width)
      .append("<div class='content'></div>")
      .click(function(e) {
        e.stopPropagation()
      })
      .draggable({containment: "parent"})
      .resizable();
    this.$elem.on('click', '.destroy', function(e) {
      e.stopPropagation();
      $(this).closest('.post-it').remove();
      for(i = 0; i < $('.header').length; i++) {
        $('.to-image').eq(i).text((i + 1) + ".  ");
      }
      tags.pop();
    });
}


App.WorksheetController = Ember.ObjectController.extend({
{'fraction_non_alphanumeric': 0.24755989352262645, 'fraction_numerical': 0.001774622892635315, 'mean_word_length': 2.235294117647059, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 19, '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': '2889216', 'n_tokens_mistral': 765, 'n_tokens_neox': 757, 'n_words': 145}