1 /* base.js - some base classes for newslash frontend */
3 var Content = function(contentType) {
10 this.author = "anonymous coward";
11 this.content_type = contentType;
14 if (contentType == "journal") {
19 if (contentType == "story") {
24 this.add_related = "";
29 this.commentstatus = "enabled";
31 this.submissioncopy = 0;
32 this.submission_id = 0;
43 var Comment = function () {
48 this.last_update = '';
58 this.karma_bonus = 'no';
65 this.create_time = '';