<commit_before>// trying to put some new blood and magic to our nonsense combo!
var app,
	RootView;

app = Marionette.Application.extend({
  initialize: function(options) {
    console.log('My containers:', options.containers);
  }
});

// Although applications will not do anything
// with a `container` option out-of-the-box, you
// could build an Application Class that does use
// such an option.
app = new app(fun);

RootView = Marionette.LayoutView.extend({
  el: 'body'
});


app.rootView = new RootView();
/*

app.addRegions({
  contactForm: '#m-contact-form',
  contactList: '#m-contact-list'
})
*/

app.on("start", function(options){
	fun.instances.router = new fun.Router();
 	if (Backbone.history){
    	Backbone.history.start();
  	}

  	app.contacts = new fun.models.Contacts();
  	app.contacts.fetch()

  	app.contacts.on("add", function(ship) {
	  alert("Ahoy " + ship.get("first_name") + "!");
	});

  	/*app.contactForm.show(new fun.forms.contactItem({ collection: app.contacts }));
	app.contactList.show(new fun.views.contactsView({ collection: app.contacts }));*/
});

app.start();<commit_msg>go mae<commit_after>// trying to put some new blood and magic to our nonsense combo!
var app,
	RootView;

app = Marionette.Application.extend({
  initialize: function(options) {
    console.log('My containers:', options.containers);
  }
});

// Although applications will not do anything
// with a `container` option out-of-the-box, you
// could build an Application Class that does use
// such an option.
app = new app(fun);

RootView = Marionette.LayoutView.extend({
  el: 'body'
});


app.rootView = new RootView();
/*

app.addRegions({
  contactForm: '#m-contact-form',
  contactList: '#m-contact-list'
})
*/

app.on("start", function(options){
	fun.instances.router = new fun.Router();
 	if (Backbone.history){
    	Backbone.history.start();
  	}

  	app.contacts = new fun.models.Contacts();
  	app.contacts.fetch()

  	app.contacts.on("add", function(ship) {
	  console.log("Ahoy " + ship.get("first_name") + "!");
	});

  	/*app.contactForm.show(new fun.forms.contactItem({ collection: app.contacts }));
	app.contactList.show(new fun.views.contactsView({ collection: app.contacts }));*/
});

app.start();
{'fraction_non_alphanumeric': 0.16853932584269662, 'fraction_numerical': 0.0, 'mean_word_length': 3.9798657718120807, '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': '3932153', 'n_tokens_mistral': 755, 'n_tokens_neox': 740, 'n_words': 172}