13 lines
490 B
JavaScript
13 lines
490 B
JavaScript
define(["backbone", "jquery", "jquery.ui"], function(Backbone, $) {
|
|
// course update -- biggest kludge here is the lack of a real id to map updates to originals
|
|
var CourseUpdate = Backbone.Model.extend({
|
|
defaults: {
|
|
"date" : $.datepicker.formatDate('MM d, yy', new Date()),
|
|
"content" : "",
|
|
"push_notification_enabled": false,
|
|
"push_notification_selected" : false
|
|
}
|
|
});
|
|
return CourseUpdate;
|
|
}); // end define()
|