Commit 7e9da443 authored by Damien Camus's avatar Damien Camus

Replace deprecated Marionettejs Controller object by Marionettejs 'Object'

parent 5e026010
...@@ -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