jenkins-bot has submitted this change and it was merged.
Change subject: RadioInputWidget: Remove documentation lies
......................................................................
RadioInputWidget: Remove documentation lies
Trevor made me write code to make this statement false, forgot to remove it.
Also correct @param → @cfg.
Change-Id: If25cd34caf6201adb8c227d3735ef8219f9f8e5c
---
M src/widgets/RadioInputWidget.js
1 file changed, 1 insertion(+), 3 deletions(-)
Approvals:
Jforrester: Looks good to me, approved
jenkins-bot: Verified
diff --git a/src/widgets/RadioInputWidget.js b/src/widgets/RadioInputWidget.js
index 7471903..8da733d 100644
--- a/src/widgets/RadioInputWidget.js
+++ b/src/widgets/RadioInputWidget.js
@@ -4,14 +4,12 @@
* Radio buttons only make sense as a set, and you probably want to use the
OO.ui.RadioSelectWidget
* class instead of using this class directly.
*
- * This class doesn't make it possible to learn whether the radio button is
selected ("pressed").
- *
* @class
* @extends OO.ui.InputWidget
*
* @constructor
* @param {Object} [config] Configuration options
- * @param {boolean} [config.selected=false] Whether the radio button is
initially selected
+ * @cfg {boolean} [selected=false] Whether the radio button is initially
selected
*/
OO.ui.RadioInputWidget = function OoUiRadioInputWidget( config ) {
// Parent constructor
--
To view, visit https://gerrit.wikimedia.org/r/178586
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If25cd34caf6201adb8c227d3735ef8219f9f8e5c
Gerrit-PatchSet: 3
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[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