mediawiki-extensions-Visual.../modules/ve/ui/widgets/ve.ui.OutlineWidget.js
Trevor Parscal efafed3231 Remove ve.{inheritClass,mixinClass} and use OO instead
Change-Id: I8df9226a358a76b661eab6e967ff0d63d361f691
2013-10-18 18:58:08 +02:00

31 lines
668 B
JavaScript

/*!
* VisualEditor UserInterface OutlineWidget class.
*
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* Create an ve.ui.OutlineWidget object.
*
* @class
* @extends ve.ui.SelectWidget
*
* @constructor
* @param {Object} [config] Configuration options
*/
ve.ui.OutlineWidget = function VeUiOutlineWidget( config ) {
// Config intialization
config = config || {};
// Parent constructor
ve.ui.SelectWidget.call( this, config );
// Initialization
this.$.addClass( 've-ui-outlineWidget' );
};
/* Inheritance */
OO.inheritClass( ve.ui.OutlineWidget, ve.ui.SelectWidget );