mirror of
https://github.com/fergalmoran/dss.git
synced 2026-01-07 09:26:18 +00:00
10 lines
254 B
JavaScript
10 lines
254 B
JavaScript
var Comment = TastypieModel.extend({
|
|
urlRoot:window.appSettings.urlRoot + "comments/"
|
|
});
|
|
|
|
var CommentCollection = TastypieCollection.extend({
|
|
model:Comment,
|
|
comparator: function(comment){
|
|
return -comment.get("id");
|
|
}
|
|
}); |