mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
e6f48c5c93
Because the former isn't a real word. Change-Id: Ie6ed15f9e390b357bbaa768b57f3c3fd7cf21181
31 lines
668 B
JavaScript
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 */
|
|
|
|
ve.inheritClass( ve.ui.OutlineWidget, ve.ui.SelectWidget );
|