mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-17 05:10:50 +00:00
15 lines
322 B
JavaScript
15 lines
322 B
JavaScript
|
var ThreadItem = require( './ThreadItem.js' );
|
||
|
|
||
|
function HeadingItem( range, placeholderHeading ) {
|
||
|
// Parent constructor
|
||
|
HeadingItem.super.call( this, 'heading', 0, range );
|
||
|
|
||
|
if ( placeholderHeading ) {
|
||
|
this.placeholderHeading = true;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
OO.inheritClass( HeadingItem, ThreadItem );
|
||
|
|
||
|
module.exports = HeadingItem;
|