<commit_before>;(function(win) {

  win.App = win.App || {};

  App.SongsView = App.HiddeableView.extend({

/*    events: {
      'click .group': 'showGroup'
    },

    el: '.groups',

    initialize: function initialize() {
      this.$list = this.$('.list');
      this.collection.on('sync', this.showGroup, this);
      this.collection.fetch();
    },

    showGroup: function showGroup(e) {
        this.$list.empty();
      var $target = $(e.currentTarget);
      var group = $target.data('group');
      var groups = this.collection.groupBy(group);

      _.each(groups, function(value, key) {
        console.log(value);
          this.$list.append($('<h2></h2>').text(key));
          _.each(value, function(v) {
              this.$list.append('<table class="table"><thead><tr><th>Title</th></tr></thead><tbody>');
              this.$list.append(
         //     var $t = $('<div></div>').text(v.get('Title') + '  ' + v.get('Album')+ '   ' + v.get('Artist'));
          //    this.$list.append($t);
          }, this);
      }, this);
    }

  });
*/
    el: '.groups',

    events: {
      'click tbody tr': 'onSongClick',
      'mouseover tbody tr' : 'onSongOver',
      'mouseout tbody tr' : 'onSongOut',
    },

    template: _.template(
      '<tr class="view" data-album="<%= Album %>" data-artist="<%= Artist %>" data-song="<%= Title %>" >' +
      '<td><%= Title %></td>' +
      '<td><%= parseTime(Time).join(\':\') %></td>' +
      '<td><%= Artist %></td>' +
      '<td class="album"><%= Album %></td>' +
      '<td><%= Genre %></td>' +
      '</tr>'
    ),

    initialize: function initialize() {
      this.$body = this.$('tbody');<commit_msg>public/js/songs-view.js Remove useless stuff<commit_after>;(function(win) {

  win.App = win.App || {};

  App.SongsView = App.HiddeableView.extend({

    el: '.groups',

    events: {
      'click tbody tr': 'onSongClick',
      'mouseover tbody tr' : 'onSongOver',
      'mouseout tbody tr' : 'onSongOut',
    },

    template: _.template(
      '<tr class="view" data-album="<%= Album %>" data-artist="<%= Artist %>" data-song="<%= Title %>" >' +
      '<td><%= Title %></td>' +
      '<td><%= parseTime(Time).join(\':\') %></td>' +
      '<td><%= Artist %></td>' +
      '<td class="album"><%= Album %></td>' +
      '<td><%= Genre %></td>' +
      '</tr>'
    ),

    initialize: function initialize() {
      this.$body = this.$('tbody');
{'fraction_non_alphanumeric': 0.24471173786810452, 'fraction_numerical': 0.0008295313148071339, 'mean_word_length': 2.4310099573257467, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, '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': '6308865', 'n_tokens_mistral': 851, 'n_tokens_neox': 817, 'n_words': 152}