mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 07:34:22 +00:00
Merge "Remove redundant size property"
This commit is contained in:
commit
01004cbf94
|
@ -18,7 +18,7 @@
|
||||||
*/
|
*/
|
||||||
ve.ui.MWMathInspector = function VeUiMWMathInspector( config ) {
|
ve.ui.MWMathInspector = function VeUiMWMathInspector( config ) {
|
||||||
// Parent constructor
|
// Parent constructor
|
||||||
ve.ui.MWLiveExtensionInspector.call( this, config );
|
ve.ui.MWMathInspector.super.call( this, config );
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Inheritance */
|
/* Inheritance */
|
||||||
|
@ -31,8 +31,6 @@ ve.ui.MWMathInspector.static.name = 'math';
|
||||||
|
|
||||||
ve.ui.MWMathInspector.static.icon = 'math';
|
ve.ui.MWMathInspector.static.icon = 'math';
|
||||||
|
|
||||||
ve.ui.MWMathInspector.static.size = 'large';
|
|
||||||
|
|
||||||
ve.ui.MWMathInspector.static.title = OO.ui.deferMsg( 'math-visualeditor-mwmathinspector-title' );
|
ve.ui.MWMathInspector.static.title = OO.ui.deferMsg( 'math-visualeditor-mwmathinspector-title' );
|
||||||
|
|
||||||
ve.ui.MWMathInspector.static.modelClasses = [ ve.dm.MWMathNode ];
|
ve.ui.MWMathInspector.static.modelClasses = [ ve.dm.MWMathNode ];
|
||||||
|
@ -50,7 +48,6 @@ ve.ui.MWMathInspector.prototype.initialize = function () {
|
||||||
// Parent method
|
// Parent method
|
||||||
ve.ui.MWMathInspector.super.prototype.initialize.call( this );
|
ve.ui.MWMathInspector.super.prototype.initialize.call( this );
|
||||||
|
|
||||||
// Position
|
|
||||||
this.displaySelect = new OO.ui.ButtonSelectWidget( {
|
this.displaySelect = new OO.ui.ButtonSelectWidget( {
|
||||||
items: [
|
items: [
|
||||||
new OO.ui.ButtonOptionWidget( {
|
new OO.ui.ButtonOptionWidget( {
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
* @param {Object} [config] Configuration options
|
* @param {Object} [config] Configuration options
|
||||||
*/
|
*/
|
||||||
ve.ui.MWMathInspectorTool = function VeUiMWMathInspectorTool( toolGroup, config ) {
|
ve.ui.MWMathInspectorTool = function VeUiMWMathInspectorTool( toolGroup, config ) {
|
||||||
ve.ui.InspectorTool.call( this, toolGroup, config );
|
ve.ui.MWMathInspectorTool.super.call( this, toolGroup, config );
|
||||||
};
|
};
|
||||||
OO.inheritClass( ve.ui.MWMathInspectorTool, ve.ui.InspectorTool );
|
OO.inheritClass( ve.ui.MWMathInspectorTool, ve.ui.InspectorTool );
|
||||||
ve.ui.MWMathInspectorTool.static.name = 'math';
|
ve.ui.MWMathInspectorTool.static.name = 'math';
|
||||||
|
|
Loading…
Reference in a new issue