define(["backbone", "js/models/course_update"], function(Backbone, CourseUpdateModel) { /* The intitializer of this collection must set id to the update's location.url and courseLocation to the course's location. Must pass the collection of updates as [{ date : "month day", content : "html"}] */ var CourseUpdateCollection = Backbone.Collection.extend({ url : function() {return this.urlbase + "course_info/updates/";}, model : CourseUpdateModel }); return CourseUpdateCollection; });