Fix two uses of now-removed OOUI mixin aliases

Change-Id: I84c3f72a05d17f0f404a0beadbea70720494794d
This commit is contained in:
James D. Forrester 2015-10-28 16:05:27 +01:00
parent 4a2c19b60e
commit 94a3bc44e7
2 changed files with 6 additions and 6 deletions

View file

@ -3,7 +3,7 @@
*
* @class
* @extends OO.ui.OptionWidget
* @mixins OO.ui.DraggableElement
* @mixins OO.ui.mixin.DraggableElement
*
* @constructor
* @param {Mixed} data Option data
@ -17,7 +17,7 @@ mw.TemplateData.DragDropItemWidget = function mwTemplateDataDragDropItemWidget(
mw.TemplateData.DragDropItemWidget.super.call( this, $.extend( {}, { icon: 'parameter' }, config ) );
// Mixin constructors
OO.ui.DraggableElement.call( this, config );
OO.ui.mixin.DraggableElement.call( this, config );
// Initialization
this.$element
@ -27,4 +27,4 @@ mw.TemplateData.DragDropItemWidget = function mwTemplateDataDragDropItemWidget(
/* Setup */
OO.inheritClass( mw.TemplateData.DragDropItemWidget, OO.ui.DecoratedOptionWidget );
OO.mixinClass( mw.TemplateData.DragDropItemWidget, OO.ui.DraggableElement );
OO.mixinClass( mw.TemplateData.DragDropItemWidget, OO.ui.mixin.DraggableElement );

View file

@ -5,7 +5,7 @@
*
* @class
* @extends OO.ui.Widget
* @mixins OO.ui.DraggableGroupElement
* @mixins OO.ui.mixin.DraggableGroupElement
*
* @constructor
* @param {Object} [config] Configuration options
@ -19,7 +19,7 @@ mw.TemplateData.DragDropWidget = function mwTemplateDataDragDropWidget( config )
mw.TemplateData.DragDropWidget.super.call( this, config );
// Mixin constructors
OO.ui.DraggableGroupElement.call( this, $.extend( {}, config, { $group: this.$element } ) );
OO.ui.mixin.DraggableGroupElement.call( this, $.extend( {}, config, { $group: this.$element } ) );
// Initialization
this.$element.addClass( 'tdg-TemplateDataDragDropWidget' );
@ -28,7 +28,7 @@ mw.TemplateData.DragDropWidget = function mwTemplateDataDragDropWidget( config )
/* Setup */
OO.inheritClass( mw.TemplateData.DragDropWidget, OO.ui.Widget );
OO.mixinClass( mw.TemplateData.DragDropWidget, OO.ui.DraggableGroupElement );
OO.mixinClass( mw.TemplateData.DragDropWidget, OO.ui.mixin.DraggableGroupElement );
/**
* Get an array of keys based on the current items, in order