Krinkle has uploaded a new change for review. https://gerrit.wikimedia.org/r/129966
Change subject: jquery.tabIndex: Add jsduck documentation ...................................................................... jquery.tabIndex: Add jsduck documentation Change-Id: I73ec9b6e8a5fcc95ea71dcaa19f9b9aa481fde18 --- M maintenance/jsduck/config.json M resources/src/jquery/jquery.tabIndex.js 2 files changed, 11 insertions(+), 5 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/66/129966/1 diff --git a/maintenance/jsduck/config.json b/maintenance/jsduck/config.json index fb8166b..d4d78f9 100644 --- a/maintenance/jsduck/config.json +++ b/maintenance/jsduck/config.json @@ -30,6 +30,7 @@ "../../resources/src/jquery/jquery.localize.js", "../../resources/src/jquery/jquery.makeCollapsible.js", "../../resources/src/jquery/jquery.spinner.js", + "../../resources/src/jquery/jquery.tabIndex.js", "../../resources/lib/oojs", "../../resources/lib/oojs-ui" ] diff --git a/resources/src/jquery/jquery.tabIndex.js b/resources/src/jquery/jquery.tabIndex.js index cdae0ba..7dc8abe 100644 --- a/resources/src/jquery/jquery.tabIndex.js +++ b/resources/src/jquery/jquery.tabIndex.js @@ -1,12 +1,12 @@ /** - * jQuery tabIndex + * @class jQuery.plugin.tabIndex */ ( function ( $ ) { /** - * Finds the lowerst tabindex in use within a selection + * Find the lowerst tabindex in use within a selection. * - * @return number Lowest tabindex on the page + * @return {number} Lowest tabindex on the page */ $.fn.firstTabIndex = function () { var minTabIndex = null; @@ -29,9 +29,9 @@ }; /** - * Finds the highest tabindex in use within a selection + * Find the highest tabindex in use within a selection. * - * @return number Highest tabindex on the page + * @return {number} Highest tabindex on the page */ $.fn.lastTabIndex = function () { var maxTabIndex = null; @@ -49,4 +49,9 @@ return maxTabIndex; }; + /** + * @class jQuery + * @mixins jQuery.plugin.tabIndex + */ + }( jQuery ) ); -- To view, visit https://gerrit.wikimedia.org/r/129966 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I73ec9b6e8a5fcc95ea71dcaa19f9b9aa481fde18 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Krinkle <krinklem...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits