Page MenuHomeWickedGov Phorge

ve.dm.MWChemNode.js
No OneTemporary

Size
785 B
Referenced Files
None
Subscribers
None

ve.dm.MWChemNode.js

/*!
* VisualEditor DataModel MWChemNode class.
*
* @copyright See AUTHORS.txt
* @license MIT
*/
/**
* DataModel MediaWiki chem node.
*
* @class
* @extends ve.dm.MWLatexNode
*
* @constructor
* @param {Object} [element]
*/
ve.dm.MWChemNode = function VeDmMWChemNode() {
// Parent constructor
ve.dm.MWChemNode.super.apply( this, arguments );
};
/* Inheritance */
OO.inheritClass( ve.dm.MWChemNode, ve.dm.MWLatexNode );
/* Static members */
ve.dm.MWChemNode.static.name = 'mwChem';
ve.dm.MWChemNode.static.extensionName = 'chem';
ve.dm.MWChemNode.static.getMatchRdfaTypes = function () {
return [
'mw:Extension/chem',
'mw:Extension/ce' // Deprecated, kept for backwards compatibility
];
};
/* Registration */
ve.dm.modelRegistry.register( ve.dm.MWChemNode );

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 4, 00:21 (2 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4e/2b/a80634764bd009ee32b968256ba0
Default Alt Text
ve.dm.MWChemNode.js (785 B)

Event Timeline