Debian Codegraph @

extensions/Math/modules/ve-math/ve.dm.MWMathNode.js

raw symbols SCIP
1 /*!
2 * VisualEditor DataModel MWMathNode class.
3 *
4 * @copyright See AUTHORS.txt
5 * @license MIT
6 */
7
8 /**
9 * DataModel MediaWiki math node.
10 *
11 * @class
12 * @extends ve.dm.MWLatexNode
13 *
14 * @constructor
15 * @param {Object} [element]
16 */
17 ve.dm.MWMathNode = function VeDmMWMathNode() {
18 // Parent constructor
19 ve.dm.MWMathNode.super.apply( this, arguments );
20 };
21
22 /* Inheritance */
23
24 OO.inheritClass( ve.dm.MWMathNode, ve.dm.MWLatexNode );
25
26 /* Static members */
27
28 ve.dm.MWMathNode.static.name = 'mwMath';
29
30 ve.dm.MWMathNode.static.extensionName = 'math';
31
32 /* Registration */
33
34 ve.dm.modelRegistry.register( ve.dm.MWMathNode );