#41 omitted on earlier commit

This commit is contained in:
Jason White 2015-10-24 13:10:43 -05:00
parent 45db051f30
commit e3df816fb9

View File

@ -11,15 +11,22 @@ define(['jquery',
_.extend(Controller.prototype,Backbone.Events);
options = options || {};
this.menuView = options.menuView;
this.titleView = options.titleView;
this.initMenu = function() {
// this.initMenu = function() {
// this.listenTo(this.menuView,'lesson:click',this.renderTitle);
}
// }
this.updateMenu = function(){
this.menuView.updateMenu();
},
//TODO: move title rendering into lessonContent/View pipeline once data can support it
this.renderTitle = function(title) {
this.titleView.render(title);
}
};
return Controller;