...

/

Moving the App Initialization Handler

Moving the App Initialization Handler

Learn how to deal with templates in Marionette.

We'll cover the following...

Cleaning up our code

There’s not much left on our index page, but let’s finish cleaning up by moving our start handler code to our application file:

Press + to interact
ContactManager.on("start", function(){
ContactManager.ContactsApp.List.Controller.listContacts();
});

Our app.js ...