From 6b50641c18d84a8f5c9c63e875a6c383bfc4956a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 22 Oct 2012 19:07:22 -0400 Subject: [PATCH] Add documentation for Item#_getChildren(). --- src/style/Style.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/style/Style.js b/src/style/Style.js index b40fc209..3b36ec2c 100644 --- a/src/style/Style.js +++ b/src/style/Style.js @@ -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; },