Files
dss/static/js/app/models/comment.js
2012-08-28 11:39:31 +01:00

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");
}
});