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
|
|
|
|
* @extends ve.dm.MWExtensionNode
|
|
|
|
*
|
|
|
|
* @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-06-07 03:17:26 +00:00
|
|
|
ve.dm.MWExtensionNode.apply( this, arguments );
|
2013-08-03 14:41:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Inheritance */
|
|
|
|
|
2013-10-11 21:44:09 +00:00
|
|
|
OO.inheritClass( ve.dm.MWHieroNode, ve.dm.MWExtensionNode );
|
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 );
|