mirror of
https://github.com/fergalmoran/dss.git
synced 2026-01-03 23:44:02 +00:00
33 lines
1.1 KiB
JavaScript
Executable File
33 lines
1.1 KiB
JavaScript
Executable File
// Generated by CoffeeScript 1.6.2
|
|
(function() {
|
|
var __hasProp = {}.hasOwnProperty,
|
|
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
|
|
|
|
define(['app.lib/backbone.dss.model'], function(DSSModel) {
|
|
var CommentItem, _ref;
|
|
|
|
CommentItem = (function(_super) {
|
|
__extends(CommentItem, _super);
|
|
|
|
function CommentItem() {
|
|
_ref = CommentItem.__super__.constructor.apply(this, arguments);
|
|
return _ref;
|
|
}
|
|
|
|
CommentItem.prototype.urlRoot = com.podnoms.settings.urlRoot + "comments/";
|
|
|
|
CommentItem.prototype.defaults = {
|
|
avatar_image: com.podnoms.settings.avatarImage,
|
|
user_name: com.podnoms.settings.userName,
|
|
user_url: com.podnoms.settings.userUrl,
|
|
date_created: ""
|
|
};
|
|
|
|
return CommentItem;
|
|
|
|
})(DSSModel);
|
|
return CommentItem;
|
|
});
|
|
|
|
}).call(this);
|