Merge pull request #84 from lukasreichart/master

If the measure function is defined: only return from execution of lay…
This commit is contained in:
Christopher Chedeau
2015-05-14 08:48:04 -07:00
3 changed files with 9 additions and 3 deletions

View File

@@ -392,7 +392,9 @@ var computeLayout = (function() {
getPaddingAndBorderAxis(node, CSS_FLEX_DIRECTION_COLUMN);
}
}
return;
if (node.children.length === 0) {
return;
}
}
var/*int*/ i;