Merge pull request #2010 from knoxHuang/v1.6

add remove toggleItems tips for fireball/issues/6416
This commit is contained in:
Wang Nan
2017-09-28 04:45:18 -05:00
committed by GitHub
+2 -1
View File
@@ -61,7 +61,8 @@ var ToggleGroup = cc.Class({
* @property {Array} toggleItems
*/
toggleItems: {
get: function (){
get: function () {
cc.warn("The ToggleGroup.toggleItems api will be removed in v2.0, please obtain toggles in other ways. \uD83D\uDE30");
return this._toggleItems;
}
}