lib/pack.js
function whitespace(layout) {
	var whitespace = layout.size[0] * layout.size[1]
	for (var i = 0; i < layout.boxes.length; i++) {
		var box = layout.boxes[i]
		whitespace -= box.size[0] * box.size[1]
	}
	return whitespace
}
function whitespace(layout) {
	var whitespace = layout.size[0] * layout.size[1]
	for (var i = 0; i < layout.boxes.length; i++) {
		var box = layout.boxes[i]
		whitespace -= box.size[0] * box.size[1]
	}
	return whitespace
}
function whitespace ( layout ) { var whitespace = layout . size [ 0 ] * layout . size [ 1 ] for ( var i = 0 ; i < layout . boxes . length ; i ++ ) { var box = layout . boxes [ i ] whitespace -= box . size [ 0 ] * box . size [ 1 ] } return whitespace }
determines the amount of whitespace area remaining in `layout`
determines the amount of whitespace area remaining in layout