TitleWidget: Add missing return documentation
authorEd Sanders <esanders@wikimedia.org>
Fri, 8 Jul 2016 17:33:25 +0000 (18:33 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Fri, 8 Jul 2016 18:35:30 +0000 (18:35 +0000)
Change-Id: Iea34d7e5dd4c54a13ac559bb2685246e0f096227

resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js

index fdd4a8a..1732407 100644 (file)
@@ -96,6 +96,8 @@
        /**
         * Get a promise which resolves with an API repsonse for suggested
         * links for the current query.
+        *
+        * @return {jQuery.Promise} Suggestions promise
         */
        mw.widgets.TitleWidget.prototype.getSuggestionsPromise = function () {
                var req,