/*!
- * OOUI v0.30.4
+ * OOUI v0.31.3
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 2011–2019 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2019-03-07T09:14:18Z
+ * Date: 2019-04-04T19:10:48Z
*/
( function ( OO ) {
// Mixin constructors
OO.ui.mixin.IconElement.call( this, config );
OO.ui.mixin.FlaggedElement.call( this, config );
- OO.ui.mixin.TabIndexedElement.call( this, $.extend( {}, config, {
+ OO.ui.mixin.TabIndexedElement.call( this, $.extend( {
$tabIndexed: this.$link
- } ) );
+ }, config ) );
// Events
this.toolbar.connect( this, {
this.onMouseKeyUp( e );
};
-// Deprecated alias since 0.28.3
-OO.ui.ToolGroup.prototype.onCapturedMouseKeyUp = function () {
- OO.ui.warnDeprecation( 'onCapturedMouseKeyUp is deprecated, use onDocumentMouseKeyUp instead' );
- this.onDocumentMouseKeyUp.apply( this, arguments );
-};
-
/**
* Handle mouse up and key up events.
*
OO.ui.mixin.LabelElement.call( this, config );
OO.ui.mixin.TitledElement.call( this, config );
OO.ui.mixin.FlaggedElement.call( this, config );
- OO.ui.mixin.ClippableElement.call( this, $.extend( {}, config, {
+ OO.ui.mixin.ClippableElement.call( this, $.extend( {
$clippable: this.$group
- } ) );
- OO.ui.mixin.FloatableElement.call( this, $.extend( {}, config, {
+ }, config ) );
+ OO.ui.mixin.FloatableElement.call( this, $.extend( {
$floatable: this.$group,
$floatableContainer: this.$handle,
hideWhenOutOfView: false,
verticalPosition: this.toolbar.position === 'bottom' ? 'above' : 'below'
- } ) );
- OO.ui.mixin.TabIndexedElement.call( this, $.extend( {}, config, {
+ }, config ) );
+ OO.ui.mixin.TabIndexedElement.call( this, $.extend( {
$tabIndexed: this.$handle
- } ) );
+ }, config ) );
// Events
this.$handle.on( {
this.setActive( false );
};
-// Deprecated alias since 0.28.3
-OO.ui.PopupToolGroup.prototype.onBlur = function () {
- OO.ui.warnDeprecation( 'onBlur is deprecated, use onPopupDocumentMouseKeyUp instead' );
- this.onPopupDocumentMouseKeyUp.apply( this, arguments );
-};
-
/**
* @inheritdoc
*/