* Traverses children that are typically specified as `props.children`, but * might also be specified through attributes: * * - `traverseAllChildren(this.props.children, ...)` * - `traverseAllChildren(this.props.leftPanelChildren, ...)` * * The `traverseContext` is an optional argument that is
(children, callback, traverseContext)
| 17144 | * @return {!number} The number of children in this subtree. |
| 17145 | */ |
| 17146 | function traverseAllChildren(children, callback, traverseContext) { |
| 17147 | if (children == null) { |
| 17148 | return 0; |
| 17149 | } |
| 17150 | |
| 17151 | return traverseAllChildrenImpl(children, '', callback, traverseContext); |
| 17152 | } |
| 17153 | |
| 17154 | module.exports = traverseAllChildren; |
| 17155 | },{"114":114,"143":143,"154":154,"34":34,"52":52,"61":61}],127:[function(_dereq_,module,exports){ |
no test coverage detected