mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-17 05:10:50 +00:00
15 lines
398 B
JavaScript
15 lines
398 B
JavaScript
|
var ThreadItem = require( './ThreadItem.js' );
|
||
|
|
||
|
function CommentItem( level, range, signatureRanges, timestamp, author ) {
|
||
|
// Parent constructor
|
||
|
CommentItem.super.call( this, 'comment', level, range );
|
||
|
|
||
|
this.signatureRanges = signatureRanges || [];
|
||
|
this.timestamp = timestamp || null;
|
||
|
this.author = author || null;
|
||
|
}
|
||
|
|
||
|
OO.inheritClass( CommentItem, ThreadItem );
|
||
|
|
||
|
module.exports = CommentItem;
|