Merge pull request #70 from tadeuzagallo/remove-dead-code

Remove unused code pointed by Xcode
This commit is contained in:
Christopher Chedeau
2015-05-05 08:10:04 -07:00
3 changed files with 0 additions and 39 deletions

View File

@@ -588,19 +588,6 @@ var computeLayout = (function() {
}
}
var/*float*/ containerMainAxis = node.layout[dim[mainAxis]];
// If the user didn't specify a width or height, and it has not been set
// by the container, then we set it via the children.
if (isUndefined(containerMainAxis)) {
containerMainAxis = fmaxf(
// We're missing the last padding at this point to get the final
// dimension
boundAxis(node, mainAxis, mainDim + getPaddingAndBorder(node, trailing[mainAxis])),
// We can never assign a width smaller than the padding and borders
getPaddingAndBorderAxis(node, mainAxis)
);
}
var/*float*/ containerCrossAxis = node.layout[dim[crossAxis]];
if (isUndefined(node.layout[dim[crossAxis]])) {
containerCrossAxis = fmaxf(