Commit a9a0edd1 authored by Sam Saccone's avatar Sam Saccone

Merge pull request #1430 from dsumac/remove-controller-deprecated

Replace deprecated Controller
parents 5e026010 7e9da443
...@@ -17,7 +17,7 @@ TodoMVC.module('TodoList', function (TodoList, App, Backbone, Marionette) { ...@@ -17,7 +17,7 @@ TodoMVC.module('TodoList', function (TodoList, App, Backbone, Marionette) {
// //
// Control the workflow and logic that exists at the application // Control the workflow and logic that exists at the application
// level, above the implementation detail of views and models // level, above the implementation detail of views and models
TodoList.Controller = Marionette.Controller.extend({ TodoList.Controller = Marionette.Object.extend({
initialize: function () { initialize: function () {
this.todoList = new App.Todos.TodoList(); this.todoList = new App.Todos.TodoList();
}, },
......
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