Stop using deprecated aliases for OO.ui.mixin.*

These classes were renamed in OOUI v0.11.4.

Change-Id: Ie932eb3bf5e65866ae4ba3bf2317facb1e740d3b
This commit is contained in:
C. Scott Ananian 2015-06-05 13:59:00 -04:00 committed by Jforrester
parent df79ed8c4b
commit 85b86fb45d
7 changed files with 25 additions and 24 deletions

View file

@ -10,14 +10,14 @@
*
* @class
* @abstract
* @mixins OO.ui.IconElement
* @mixins OO.ui.mixin.IconElement
*
* @constructor
* @param {Object} [config] Configuration options
*/
ve.ce.MWAlienExtensionNode = function VeCeMWAlienExtensionNode( config ) {
// Mixin constructors
OO.ui.IconElement.call( this, config );
OO.ui.mixin.IconElement.call( this, config );
// Events
this.connect( this, { setup: 'onAlienSetup' } );
@ -27,7 +27,7 @@ ve.ce.MWAlienExtensionNode = function VeCeMWAlienExtensionNode( config ) {
OO.initClass( ve.ce.MWAlienExtensionNode );
OO.mixinClass( ve.ce.MWAlienExtensionNode, OO.ui.IconElement );
OO.mixinClass( ve.ce.MWAlienExtensionNode, OO.ui.mixin.IconElement );
/* Static members */

View file

@ -12,6 +12,7 @@
* @abstract
* @extends ve.ce.LeafNode
* @mixins ve.ce.FocusableNode
* @mixins OO.ui.mixin.IconElement
* @mixins ve.ce.GeneratedContentNode
*
* @constructor
@ -24,7 +25,7 @@ ve.ce.MWTransclusionNode = function VeCeMWTransclusionNode( model, config ) {
// Mixin constructors
ve.ce.FocusableNode.call( this );
OO.ui.IconElement.call( this, config );
OO.ui.mixin.IconElement.call( this, config );
ve.ce.GeneratedContentNode.call( this );
};
@ -34,7 +35,7 @@ OO.inheritClass( ve.ce.MWTransclusionNode, ve.ce.LeafNode );
OO.mixinClass( ve.ce.MWTransclusionNode, ve.ce.FocusableNode );
OO.mixinClass( ve.ce.MWTransclusionNode, ve.ce.GeneratedContentNode );
OO.mixinClass( ve.ce.MWTransclusionNode, OO.ui.IconElement );
OO.mixinClass( ve.ce.MWTransclusionNode, OO.ui.mixin.IconElement );
/* Static Properties */

View file

@ -11,7 +11,7 @@
* @class
* @abstract
* @extends OO.ui.ButtonWidget
* @mixins OO.ui.DraggableElement
* @mixins OO.ui.mixin.DraggableElement
*
* @constructor
* @param {Object} [config] Configuration options
@ -28,7 +28,7 @@ ve.ui.MWCategoryItemWidget = function VeUiMWCategoryItemWidget( config ) {
OO.ui.ButtonWidget.call( this, config );
// Mixin constructors
OO.ui.DraggableElement.call( this, config );
OO.ui.mixin.DraggableElement.call( this, config );
// Properties
this.name = config.item.name;
@ -61,7 +61,7 @@ ve.ui.MWCategoryItemWidget = function VeUiMWCategoryItemWidget( config ) {
OO.inheritClass( ve.ui.MWCategoryItemWidget, OO.ui.ButtonWidget );
OO.mixinClass( ve.ui.MWCategoryItemWidget, OO.ui.DraggableElement );
OO.mixinClass( ve.ui.MWCategoryItemWidget, OO.ui.mixin.DraggableElement );
/* Events */

View file

@ -26,8 +26,8 @@ ve.ui.MWCategoryWidget = function VeUiMWCategoryWidget( config ) {
OO.ui.Widget.call( this, config );
// Mixin constructors
OO.ui.GroupElement.call( this, config );
OO.ui.DraggableGroupElement.call( this, $.extend( {}, config, { orientation: 'horizontal' } ) );
OO.ui.mixin.GroupElement.call( this, config );
OO.ui.mixin.DraggableGroupElement.call( this, $.extend( {}, config, { orientation: 'horizontal' } ) );
// Properties
this.categories = {};
@ -183,7 +183,7 @@ ve.ui.MWCategoryWidget.prototype.onUpdateSortkey = function ( name, value ) {
* @inheritdoc
*/
ve.ui.MWCategoryWidget.prototype.clearItems = function () {
OO.ui.GroupElement.prototype.clearItems.call( this );
OO.ui.mixin.GroupElement.prototype.clearItems.call( this );
this.categories = {};
};
@ -350,7 +350,7 @@ ve.ui.MWCategoryWidget.prototype.addItems = function ( items, index ) {
categoryItems.push( categoryItem );
}
OO.ui.DraggableGroupElement.prototype.addItems.call( categoryWidget, categoryItems, index );
OO.ui.mixin.DraggableGroupElement.prototype.addItems.call( categoryWidget, categoryItems, index );
categoryWidget.fitInput();
} );
@ -371,7 +371,7 @@ ve.ui.MWCategoryWidget.prototype.removeItems = function ( items ) {
}
}
OO.ui.DraggableGroupElement.prototype.removeItems.call( this, items );
OO.ui.mixin.DraggableGroupElement.prototype.removeItems.call( this, items );
this.fitInput();
};

View file

@ -25,7 +25,7 @@ ve.ui.MWLinkTargetInputWidget = function VeUiMWLinkTargetInputWidget( config ) {
ve.ui.MWLinkTargetInputWidget.super.call( this, config );
// Mixin constructors
OO.ui.LookupElement.call( this, config );
OO.ui.mixin.LookupElement.call( this, config );
// Initialization
this.$element.addClass( 've-ui-mwLinkTargetInputWidget' );
@ -53,7 +53,7 @@ ve.ui.MWLinkTargetInputWidget = function VeUiMWLinkTargetInputWidget( config ) {
OO.inheritClass( ve.ui.MWLinkTargetInputWidget, OO.ui.TextInputWidget );
OO.mixinClass( ve.ui.MWLinkTargetInputWidget, OO.ui.LookupElement );
OO.mixinClass( ve.ui.MWLinkTargetInputWidget, OO.ui.mixin.LookupElement );
/* Methods */

View file

@ -10,8 +10,8 @@
*
* @class
* @extends OO.ui.Widget
* @mixins OO.ui.IconElement
* @mixins OO.ui.TitledElement
* @mixins OO.ui.mixin.IconElement
* @mixins OO.ui.mixin.TitledElement
*
* @constructor
* @param {Object} [config] Configuration options
@ -31,8 +31,8 @@ ve.ui.MWMediaInfoFieldWidget = function VeUiMWMediaInfoFieldWidget( content, con
ve.ui.MWMediaInfoFieldWidget.super.call( this, config );
// Mixin constructors
OO.ui.IconElement.call( this, config );
OO.ui.LabelElement.call( this, $.extend( { $label: $( '<div>' ) }, config ) );
OO.ui.mixin.IconElement.call( this, config );
OO.ui.mixin.LabelElement.call( this, $.extend( { $label: $( '<div>' ) }, config ) );
this.$text = $( '<div>' )
.addClass( 've-ui-mwMediaInfoFieldWidget-text' );
@ -98,8 +98,8 @@ ve.ui.MWMediaInfoFieldWidget = function VeUiMWMediaInfoFieldWidget( content, con
/* Setup */
OO.inheritClass( ve.ui.MWMediaInfoFieldWidget, OO.ui.Widget );
OO.mixinClass( ve.ui.MWMediaInfoFieldWidget, OO.ui.IconElement );
OO.mixinClass( ve.ui.MWMediaInfoFieldWidget, OO.ui.LabelElement );
OO.mixinClass( ve.ui.MWMediaInfoFieldWidget, OO.ui.mixin.IconElement );
OO.mixinClass( ve.ui.MWMediaInfoFieldWidget, OO.ui.mixin.LabelElement );
/* Static Properties */

View file

@ -10,7 +10,7 @@
*
* @class
* @extends OO.ui.Widget
* @mixins OO.ui.GroupElement
* @mixins OO.ui.mixin.GroupElement
*
* @constructor
* @param {Object} config TOC Item configuration
@ -26,7 +26,7 @@ ve.ui.MWTocItemWidget = function VeCeMWTocItemWidget( config ) {
OO.ui.Widget.call( this, config );
// Mixin Constructor
OO.ui.GroupElement.call( this, $.extend( {}, config, { $group: $( '<ul>' ) } ) );
OO.ui.mixin.GroupElement.call( this, $.extend( {}, config, { $group: $( '<ul>' ) } ) );
config = config || {};
@ -59,7 +59,7 @@ ve.ui.MWTocItemWidget = function VeCeMWTocItemWidget( config ) {
OO.inheritClass( ve.ui.MWTocItemWidget, OO.ui.Widget );
OO.mixinClass( ve.ui.MWTocItemWidget, OO.ui.GroupElement );
OO.mixinClass( ve.ui.MWTocItemWidget, OO.ui.mixin.GroupElement );
/* Static Properties */