<commit_before>
/* global Backbone, _, $ */

var PhilaeTrip = Backbone.Model.extend({

  url: 'http://localhost:13337/trips/1',

  defaults: {
    title: "loading..."
  }

});


var PhilaeTripView = Backbone.View.extend({

  el: "#magic",

  template: _.template("<h2><%= title %><h2>"),

  events: {

  },

  initialize: function() {
    this.listenTo(this.model, "change", this.render);
  },

  render: function() {
    console.log("Rendering magic...");
    this.$el.html(this.template(this.model.toJSON()));
  }

});


$(document).ready(function() {

  var p = new PhilaeTrip();
  var v = new PhilaeTripView({model: p});
  p.fetch();

});<commit_msg>ISSUE #5 Address lint issues on app.js<commit_after>
/* global Backbone, _, $ */

var PhilaeTrip = Backbone.Model.extend({

  url: 'http://localhost:13337/trips/1',

  defaults: {
    title: "loading..."
  }

});


var PhilaeTripView = Backbone.View.extend({

  el: "#magic",

  template: _.template("<h2><%= title %><h2>"),

  events: {

  },

  initialize: function() {
    this.listenTo(this.model, "change", this.render);
  },

  render: function() {
    this.$el.html(this.template(this.model.toJSON()));
  }

});


$(document).ready(function() {

  var p = new PhilaeTrip();
  new PhilaeTripView({model: p});
  p.fetch();

});
{'fraction_non_alphanumeric': 0.2099533437013997, 'fraction_numerical': 0.013219284603421462, 'mean_word_length': 3.3627118644067795, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5769308', 'n_tokens_mistral': 496, 'n_tokens_neox': 463, 'n_words': 86}