mediawiki-extensions-Math/modules/ve-math/ve.ce.MWChemNode.js
Volker E 09b8a0830c Use renamed OOUI icon 'labFlask'
Change-Id: I1c6ffd18f97e6a0e95f9e8e88842743caf887fe8
2019-09-11 13:36:37 -07:00

38 lines
822 B
JavaScript

/*!
* VisualEditor ContentEditable MWChemNode class.
*
* @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt
* @license MIT
*/
/**
* ContentEditable MediaWiki chem node.
*
* @class
* @extends ve.ce.MWInlineExtensionNode
*
* @constructor
* @param {ve.dm.MWChemNode} model Model to observe
* @param {Object} [config] Configuration options
*/
ve.ce.MWChemNode = function VeCeMWChemNode() {
// Parent constructor
ve.ce.MWChemNode.super.apply( this, arguments );
};
/* Inheritance */
OO.inheritClass( ve.ce.MWChemNode, ve.ce.MWLatexNode );
/* Static Properties */
ve.ce.MWChemNode.static.name = 'mwChem';
ve.ce.MWChemNode.static.primaryCommandName = 'chemDialog';
ve.ce.MWChemNode.static.iconWhenInvisible = 'labFlask';
/* Registration */
ve.ce.nodeFactory.register( ve.ce.MWChemNode );