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") {
20 if (contentType == "story") {
25 this.add_related = "";
30 this.commentstatus = "enabled";
32 this.submissioncopy = 0;
33 this.submission_id = 0;
44 var Comment = function () {
49 this.last_update = '';
59 this.karma_bonus = 'no';
66 this.create_time = '';