<commit_before>exercism.views.ListNotifications = Backbone.View.extend({
  template: JST["app/templates/list_notifications.us"],

  id: "list-notifications",

  initialize: function(options) {
    this.listenTo(this.collection, 'add', this.addOne);
  },

  render: function() {
    this.$el.html(this.template());
    return this;
  },

  toggle: function() {
    console.log("toggle");
    this.$el.toggleClass("reveal-notifications");
    $("body").toggleClass("reveal-notifications");
  },

  addAll: function() {
    this.collection.each(this.addOne, this);
  },

  addOne: function(model) {
    console.log(model);
    view = new exercism.views.Notification({model: model});
    view.render();
    this.$("#contains-notifications").append(view.el);
    model.on('remove', view.remove, view);
  }

});
<commit_msg>Remove stray console.logs that were totally there on purpose<commit_after>exercism.views.ListNotifications = Backbone.View.extend({
  template: JST["app/templates/list_notifications.us"],

  id: "list-notifications",

  initialize: function(options) {
    this.listenTo(this.collection, 'add', this.addOne);
  },

  render: function() {
    this.$el.html(this.template());
    return this;
  },

  toggle: function() {
    this.$el.toggleClass("reveal-notifications");
    $("body").toggleClass("reveal-notifications");
  },

  addAll: function() {
    this.collection.each(this.addOne, this);
  },

  addOne: function(model) {
    view = new exercism.views.Notification({model: model});
    view.render();
    this.$("#contains-notifications").append(view.el);
    model.on('remove', view.remove, view);
  }

});

{'fraction_non_alphanumeric': 0.17708333333333334, 'fraction_numerical': 0.0, 'mean_word_length': 4.071428571428571, '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': '3822103', 'n_tokens_mistral': 536, 'n_tokens_neox': 518, 'n_words': 80}