From 11ec6a3c126e635b407e86e6b04de747398a3fc6 Mon Sep 17 00:00:00 2001 From: Thalia Date: Thu, 17 Sep 2015 20:43:36 +0100 Subject: [PATCH] Remove redundant size property Change-Id: Iebedb66fda25078d507f012b17a459fde6a393e9 --- modules/ve-math/ve.ui.MWMathInspector.js | 5 +---- modules/ve-math/ve.ui.MWMathInspectorTool.js | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/ve-math/ve.ui.MWMathInspector.js b/modules/ve-math/ve.ui.MWMathInspector.js index 2e266c1..7932284 100644 --- a/modules/ve-math/ve.ui.MWMathInspector.js +++ b/modules/ve-math/ve.ui.MWMathInspector.js @@ -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( { diff --git a/modules/ve-math/ve.ui.MWMathInspectorTool.js b/modules/ve-math/ve.ui.MWMathInspectorTool.js index f70ec7d..eb352e9 100644 --- a/modules/ve-math/ve.ui.MWMathInspectorTool.js +++ b/modules/ve-math/ve.ui.MWMathInspectorTool.js @@ -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';