2013-08-03 14:41:22 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor DataModel MWHieroNode class.
|
|
|
|
*
|
2014-01-05 12:05:05 +00:00
|
|
|
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
2013-08-03 14:41:22 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* DataModel MediaWiki hieroglyphics node.
|
|
|
|
*
|
|
|
|
* @class
|
2014-05-20 11:56:37 +00:00
|
|
|
* @extends ve.dm.MWBlockExtensionNode
|
2013-08-03 14:41:22 +00:00
|
|
|
*
|
|
|
|
* @constructor
|
2014-06-07 03:17:26 +00:00
|
|
|
* @param {Object} [element] Reference to element in linear model
|
2013-08-03 14:41:22 +00:00
|
|
|
*/
|
2014-06-07 03:17:26 +00:00
|
|
|
ve.dm.MWHieroNode = function VeDmMWHieroNode() {
|
2013-08-03 14:41:22 +00:00
|
|
|
// Parent constructor
|
2014-05-20 11:56:37 +00:00
|
|
|
ve.dm.MWBlockExtensionNode.apply( this, arguments );
|
2013-08-03 14:41:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Inheritance */
|
|
|
|
|
2014-05-20 11:56:37 +00:00
|
|
|
OO.inheritClass( ve.dm.MWHieroNode, ve.dm.MWBlockExtensionNode );
|
2013-08-03 14:41:22 +00:00
|
|
|
|
|
|
|
/* Static members */
|
|
|
|
|
|
|
|
ve.dm.MWHieroNode.static.name = 'mwHiero';
|
|
|
|
|
|
|
|
ve.dm.MWHieroNode.static.tagName = 'table';
|
|
|
|
|
|
|
|
ve.dm.MWHieroNode.static.extensionName = 'hiero';
|
|
|
|
|
|
|
|
/* Registration */
|
|
|
|
|
|
|
|
ve.dm.modelRegistry.register( ve.dm.MWHieroNode );
|