mirror of
https://github.com/fergalmoran/dss.git
synced 2026-01-03 07:24:00 +00:00
10 lines
251 B
JavaScript
10 lines
251 B
JavaScript
var Comment = DSSModel.extend({
|
|
urlRoot:com.podnoms.settings.urlRoot + "comments/"
|
|
});
|
|
|
|
var CommentCollection = TastypieCollection.extend({
|
|
model:Comment,
|
|
comparator: function(comment){
|
|
return -comment.get("id");
|
|
}
|
|
}); |