From a1789ddde42033f1b05cc4929491214ee6e79383 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 17 Dec 2015 09:15:42 +0100 Subject: Update to MediaWiki 1.26.0 --- vendor/oojs/oojs-ui/src/widgets/IndicatorWidget.js | 52 ---------------------- 1 file changed, 52 deletions(-) delete mode 100644 vendor/oojs/oojs-ui/src/widgets/IndicatorWidget.js (limited to 'vendor/oojs/oojs-ui/src/widgets/IndicatorWidget.js') diff --git a/vendor/oojs/oojs-ui/src/widgets/IndicatorWidget.js b/vendor/oojs/oojs-ui/src/widgets/IndicatorWidget.js deleted file mode 100644 index e6ecddf0..00000000 --- a/vendor/oojs/oojs-ui/src/widgets/IndicatorWidget.js +++ /dev/null @@ -1,52 +0,0 @@ -/** - * IndicatorWidgets create indicators, which are small graphics that are generally used to draw - * attention to the status of an item or to clarify the function of a control. For a list of - * indicators included in the library, please see the [OOjs UI documentation on MediaWiki][1]. - * - * @example - * // Example of an indicator widget - * var indicator1 = new OO.ui.IndicatorWidget( { - * indicator: 'alert' - * } ); - * - * // Create a fieldset layout to add a label - * var fieldset = new OO.ui.FieldsetLayout(); - * fieldset.addItems( [ - * new OO.ui.FieldLayout( indicator1, { label: 'An alert indicator:' } ) - * ] ); - * $( 'body' ).append( fieldset.$element ); - * - * [1]: https://www.mediawiki.org/wiki/OOjs_UI/Widgets/Icons,_Indicators,_and_Labels#Indicators - * - * @class - * @extends OO.ui.Widget - * @mixins OO.ui.IndicatorElement - * @mixins OO.ui.TitledElement - * - * @constructor - * @param {Object} [config] Configuration options - */ -OO.ui.IndicatorWidget = function OoUiIndicatorWidget( config ) { - // Configuration initialization - config = config || {}; - - // Parent constructor - OO.ui.IndicatorWidget.super.call( this, config ); - - // Mixin constructors - OO.ui.IndicatorElement.call( this, $.extend( {}, config, { $indicator: this.$element } ) ); - OO.ui.TitledElement.call( this, $.extend( {}, config, { $titled: this.$element } ) ); - - // Initialization - this.$element.addClass( 'oo-ui-indicatorWidget' ); -}; - -/* Setup */ - -OO.inheritClass( OO.ui.IndicatorWidget, OO.ui.Widget ); -OO.mixinClass( OO.ui.IndicatorWidget, OO.ui.IndicatorElement ); -OO.mixinClass( OO.ui.IndicatorWidget, OO.ui.TitledElement ); - -/* Static Properties */ - -OO.ui.IndicatorWidget.static.tagName = 'span'; -- cgit v1.2.2