jenkins-bot has submitted this change and it was merged.

Change subject: Update for breaking change for mixins in OOUI
......................................................................


Update for breaking change for mixins in OOUI

See I9ecbfc3d52f6ca46, where the alias was removed.

Change-Id: Iaaefd45adcd04dd15b2f8ca49a2364c432429b95
---
M jsduck.json
M resources/mobile.categories.overlays/CategoryLookupInputWidget.js
2 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Florianschmidtwelzow: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/jsduck.json b/jsduck.json
index 7bde8d4..720056c 100644
--- a/jsduck.json
+++ b/jsduck.json
@@ -19,7 +19,7 @@
                "mw.ForeignApi",
                "OO.ui.ToolGroup",
                "OO.ui.Tool",
-               "OO.ui.LookupElement",
+               "OO.ui.mixin.LookupElement",
                "OO.EventEmitter",
                "ve.init.mw.MobileArticleTarget"
        ],
diff --git a/resources/mobile.categories.overlays/CategoryLookupInputWidget.js 
b/resources/mobile.categories.overlays/CategoryLookupInputWidget.js
index a2e2d59..87ca68e 100644
--- a/resources/mobile.categories.overlays/CategoryLookupInputWidget.js
+++ b/resources/mobile.categories.overlays/CategoryLookupInputWidget.js
@@ -1,7 +1,7 @@
 ( function ( M, $, OO ) {
        /**
         * @class CategoryLookupInputWidget
-        * @extends OO.ui.LookupElement
+        * @extends OO.ui.mixin.LookupElement
         * @param {Object} options
         * @param {CategoryGateway} options.gateway to use to retrieve search 
results
         * @param {jQuery.Object} options.suggestions container element for 
search suggestions
@@ -15,10 +15,10 @@
                this.$saveButton = options.saveButton;
                options.placeholder = mw.msg( 
'mobile-frontend-categories-search' );
                OO.ui.TextInputWidget.call( this, options );
-               OO.ui.LookupElement.call( this, options );
+               OO.ui.mixin.LookupElement.call( this, options );
        }
        OO.inheritClass( CategoryLookupInputWidget, OO.ui.TextInputWidget );
-       OO.mixinClass( CategoryLookupInputWidget, OO.ui.LookupElement );
+       OO.mixinClass( CategoryLookupInputWidget, OO.ui.mixin.LookupElement );
 
        /**
         * Handle a click on a suggested item. Add it to the list of added 
categories and show save button.

-- 
To view, visit https://gerrit.wikimedia.org/r/249415
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaaefd45adcd04dd15b2f8ca49a2364c432429b95
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to