Merge "Remove redundant size property"

This commit is contained in:
jenkins-bot 2015-09-17 21:08:24 +00:00 committed by Gerrit Code Review
commit 01004cbf94
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';