mirror of
https://github.com/fergalmoran/dss.git
synced 2026-01-29 04:06:07 +00:00
10 lines
249 B
JavaScript
Executable File
10 lines
249 B
JavaScript
Executable File
var Comment = DSSModel.extend({
|
|
urlRoot:window.appSettings.urlRoot + "comments/"
|
|
});
|
|
|
|
var CommentCollection = TastypieCollection.extend({
|
|
model:Comment,
|
|
comparator: function(comment){
|
|
return -comment.get("id");
|
|
}
|
|
}); |