Commit 7e4eaadd authored by TasteBot's avatar TasteBot

update the build files for gh-pages [ci skip]

parent 61493cd7
...@@ -57,13 +57,13 @@ TodoMVC.module('TodoList', function (TodoList, App, Backbone, Marionette) { ...@@ -57,13 +57,13 @@ TodoMVC.module('TodoList', function (TodoList, App, Backbone, Marionette) {
} }
}); });
// TodoList Initializer // On App start
// -------------------- // --------------------
// //
// Get the TodoList up and running by initializing the mediator // Get the TodoList up and running by initializing the mediator
// when the the application is started, pulling in all of the // when the the application is started, pulling in all of the
// existing Todo items and displaying them. // existing Todo items and displaying them.
TodoList.addInitializer(function () { App.on('start', function () {
var controller = new TodoList.Controller(); var controller = new TodoList.Controller();
controller.router = new TodoList.Router({ controller.router = new TodoList.Router({
controller: controller controller: controller
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment