mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-12-23 05:13:22 +00:00
30 lines
635 B
JavaScript
30 lines
635 B
JavaScript
|
/**
|
||
|
* DataModel MediaWiki Tabber node.
|
||
|
*
|
||
|
* @class
|
||
|
* @extends ve.dm.MWBlockExtensionNode
|
||
|
*
|
||
|
* @constructor
|
||
|
* @param {Object} [element] Reference to element in linear model
|
||
|
*/
|
||
|
ve.dm.MWTabberNode = function VeDmMWTabberNode() {
|
||
|
// Parent constructor
|
||
|
ve.dm.MWTabberNode.super.apply( this, arguments );
|
||
|
};
|
||
|
|
||
|
/* Inheritance */
|
||
|
|
||
|
OO.inheritClass( ve.dm.MWTabberNode, ve.dm.MWBlockExtensionNode );
|
||
|
|
||
|
/* Static members */
|
||
|
|
||
|
ve.dm.MWTabberNode.static.name = 'mwTabber';
|
||
|
|
||
|
ve.dm.MWTabberNode.static.tagName = 'div';
|
||
|
|
||
|
ve.dm.MWTabberNode.static.extensionName = 'tabber';
|
||
|
|
||
|
/* Registration */
|
||
|
|
||
|
ve.dm.modelRegistry.register( ve.dm.MWTabberNode );
|