Skip to content

Commit f7cd44c

Browse files
Jeroen Versteegokuryu
authored andcommitted
Corrected ButtonGroup docs
Docs wrongly claimed that `Y.ButtonGroup` inherits from `Y.ButtonCore`.
1 parent 157e5b6 commit f7cd44c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/button/docs/index.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ YUI().use('button-group', function(Y){
144144

145145
<div id="buttongroup">
146146
<h3>use('button-group')</h3>
147-
<p>`Y.ButtonGroup` is a constructor that is used to generate widgets containing a group of buttons. To avoid widgets inside of widgets, this class is built on top of `Y.ButtonCore`, not `Y.Button`</p>
147+
<p>`Y.ButtonGroup` is a constructor that is used to generate widgets containing a group of buttons.</p>
148148
</div>
149149

150150

@@ -212,7 +212,7 @@ YUI().use('button-group', function(Y){
212212
</table>
213213

214214
<h4>Y.ButtonGroup</h4>
215-
<p>In addition to the inherited `Y.ButtonCore` attributes...</p>
215+
<p>In addition to the inherited `Y.Widget` attributes...</p>
216216
<table>
217217
<thead>
218218
<tr>
@@ -298,7 +298,7 @@ YUI().use('button-group', function(Y){
298298
</table>
299299

300300
<h4>Y.ButtonGroup</h4>
301-
<p>In addition to the inherited `Y.ButtonCore` events...</p>
301+
<p>In addition to the inherited `Y.Widget` events...</p>
302302
<table>
303303
<thead>
304304
<tr>

0 commit comments

Comments
 (0)