/*! * VisualEditor UserInterface MWMathInspector class. * * @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt * @license The MIT License (MIT); see LICENSE.txt */ /*global ve, OO */ /** * MediaWiki math inspector. * * @class * @extends ve.ui.MWLiveExtensionInspector * * @constructor * @param {Object} [config] Configuration options */ ve.ui.MWMathInspector = function VeUiMWMathInspector( config ) { // Parent constructor ve.ui.MWLiveExtensionInspector.call( this, config ); }; /* Inheritance */ OO.inheritClass( ve.ui.MWMathInspector, ve.ui.MWLiveExtensionInspector ); /* Static properties */ ve.ui.MWMathInspector.static.name = 'math'; ve.ui.MWMathInspector.static.icon = 'math'; ve.ui.MWMathInspector.static.title = OO.ui.deferMsg( 'math-visualeditor-mwmathinspector-title' ); ve.ui.MWMathInspector.static.nodeModel = ve.dm.MWMathNode; ve.ui.MWMathInspector.static.dir = 'ltr'; /* Registration */ ve.ui.inspectorFactory.register( ve.ui.MWMathInspector );