course_info.js 459 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
define(["backbone"], function(Backbone) {
    // single per course holds the updates and handouts
    var CourseInfo = Backbone.Model.extend({
        // This model class is not suited for restful operations and is considered just a server side initialized container
        url: '',

        defaults: {
            "updates" : null,   // UpdateCollection
            "handouts": null    // HandoutCollection
10
            }
11 12
    });
    return CourseInfo;
13
});