Add documentation for Item#_getChildren().

This commit is contained in:
Jürg Lehni 2012-10-22 19:07:22 -04:00
parent 659b431404
commit 6b50641c18

View file

@ -36,7 +36,11 @@ var Style = Item.extend({
}, this);
},
/**
* Returns the children to be used to unify style attributes, if any.
*/
_getChildren: function() {
// Only unify styles on children of Group items, excluding CompoundPath.
return this._item instanceof Group && this._item._children;
},