mediawiki-extensions-Echo/modules/model/mw.echo.dm.SortedList.js
Ed Sanders 17126b2ab1 Remove obsolete aliases from closures
Bug: T208951
Change-Id: If51fc6d50b9755c779fd0bf1be7bb0fe276539ea
2018-11-12 13:56:38 +00:00

31 lines
666 B
JavaScript

( function () {
/**
* Sorted list abstract data structure.
*
* @class
* @abstract
* @mixins OO.EventEmitter
* @mixins OO.SortedEmitterList
*
* @constructor
*/
mw.echo.dm.SortedList = function MwEchoDmSortedList() {
// Mixin constructors
OO.EventEmitter.call( this );
OO.SortedEmitterList.call( this );
};
/* Initialization */
OO.mixinClass( mw.echo.dm.SortedList, OO.EventEmitter );
OO.mixinClass( mw.echo.dm.SortedList, OO.SortedEmitterList );
/**
* Defines whether or not this list contains items
* or lists of items.
*
* @return {boolean} This list is a group
*/
mw.echo.dm.SortedList.prototype.isGroup = null;
}() );