Remove redundant size property

Change-Id: Iebedb66fda25078d507f012b17a459fde6a393e9
This commit is contained in:
Thalia 2015-09-17 20:43:36 +01:00 committed by Tchanders
parent abad392272
commit 11ec6a3c12
2 changed files with 2 additions and 5 deletions

View File

@ -18,7 +18,7 @@
*/
ve.ui.MWMathInspector = function VeUiMWMathInspector( config ) {
// Parent constructor
ve.ui.MWLiveExtensionInspector.call( this, config );
ve.ui.MWMathInspector.super.call( this, config );
};
/* Inheritance */
@ -31,8 +31,6 @@ ve.ui.MWMathInspector.static.name = '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.modelClasses = [ ve.dm.MWMathNode ];
@ -50,7 +48,6 @@ ve.ui.MWMathInspector.prototype.initialize = function () {
// Parent method
ve.ui.MWMathInspector.super.prototype.initialize.call( this );
// Position
this.displaySelect = new OO.ui.ButtonSelectWidget( {
items: [
new OO.ui.ButtonOptionWidget( {

View File

@ -17,7 +17,7 @@
* @param {Object} [config] Configuration options
*/
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 );
ve.ui.MWMathInspectorTool.static.name = 'math';