mediawiki-extensions-Discus.../modules/ThreadItem.js
Ed Sanders 7be0cc3209 Create ThreadItem classes
Change-Id: Id2c5324d74eccb1209ccb76768c557722c6d9400
2020-06-12 20:35:59 +01:00

13 lines
204 B
JavaScript

function ThreadItem( type, level, range ) {
this.type = type;
this.level = level;
this.range = range;
this.id = null;
this.replies = [];
}
OO.initClass( ThreadItem );
module.exports = ThreadItem;