Thiemo Mättig (WMDE) has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/251220

Change subject: Fix inputextender test documentation
......................................................................

Fix inputextender test documentation

Change-Id: I70416f81d942d6e2bd303600e8aad3c3dfda4a35
---
M tests/lib/jquery.ui/jquery.ui.inputextender.tests.js
1 file changed, 8 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/data-values/value-view 
refs/changes/20/251220/1

diff --git a/tests/lib/jquery.ui/jquery.ui.inputextender.tests.js 
b/tests/lib/jquery.ui/jquery.ui.inputextender.tests.js
index 58f334b..3d8a646 100644
--- a/tests/lib/jquery.ui/jquery.ui.inputextender.tests.js
+++ b/tests/lib/jquery.ui/jquery.ui.inputextender.tests.js
@@ -216,6 +216,10 @@
                } );
        } );
 
+       /**
+        * @param {QUnit.assert} assert
+        * @param {jQuery.ui.inputextender[]} inputExtenders
+        */
        function assertCurrentlyVisibleExtensions( assert, inputExtenders ) {
                var visibleExtenders = 
$.ui.inputextender.getInstancesWithVisibleExtensions();
                assert.ok(
@@ -236,12 +240,13 @@
         * then, the others.
         * After each step, getInstancesWithVisibleExtensions() will be tested 
for its return value.
         *
-        * @param assert
-        * @param inactiveExtenders
+        * @param {QUnit.assert} assert
+        * @param {jQuery.ui.inputextender[]} inactiveExtenders
+        * @param {jQuery.ui.inputextender[]} activeExtenders private
         * @return {Object} jQuery.Promise
         */
        function testGetInstancesWithVisibleExtensions(
-               assert, inactiveExtenders, /* private */ activeExtenders
+               assert, inactiveExtenders, activeExtenders
        ) {
                activeExtenders = activeExtenders || [];
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I70416f81d942d6e2bd303600e8aad3c3dfda4a35
Gerrit-PatchSet: 1
Gerrit-Project: data-values/value-view
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>

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

Reply via email to