Commit 3dc607e3 authored by Renfred Harper's avatar Renfred Harper

Remove course view

parent 2df64f79
var advisor = advisor || {};
advisor.CourseView = Backbone.View.extend({
tagName: 'div',
template: _.template( $('#course-template').html() ),
events: {
"click": "info"
},
initialize: function() {
this.listenTo(this.model, 'change', this.render);
},
// Re-renders the titles of the todo item.
render: function() {
$('body').append( this.template( this.model.toJSON() ) );
return this;
},
info: function() {
}
});
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