(parent, x0, y0, x1, y1)
| 14122 | var squarify = (function custom(ratio) { |
| 14123 | |
| 14124 | function squarify(parent, x0, y0, x1, y1) { |
| 14125 | squarifyRatio(ratio, parent, x0, y0, x1, y1); |
| 14126 | } |
| 14127 | |
| 14128 | squarify.ratio = function(x) { |
| 14129 | return custom((x = +x) > 1 ? x : 1); |
nothing calls this directly
no test coverage detected