Remove unused context param from countChildren (#12787)

This commit is contained in:
Maxim
2018-05-15 12:18:35 +03:00
committed by Dan Abramov
parent bde4b1659f
commit 1047980dca

View File

@@ -361,7 +361,7 @@ function mapChildren(children, func, context) {
* @param {?*} children Children tree container.
* @return {number} The number of children.
*/
function countChildren(children, context) {
function countChildren(children) {
return traverseAllChildren(children, emptyFunction.thatReturnsNull, null);
}