Files
edx-platform/cms/static/js/collections/course_update.js
Don Mitchell 99e7daf796 RESTful refactoring for course_info updates and handouts.
html page and update access use 2 different urls
GET update can get an individual update
STUD-944
2013-11-13 13:16:41 -05:00

13 lines
502 B
JavaScript

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({
// instantiator must set url
model : CourseUpdateModel
});
return CourseUpdateCollection;
});