(object)
| 3421 | d3.geo.path = function() { |
| 3422 | var pointRadius = 4.5, projection, context, projectStream, contextStream, cacheStream; |
| 3423 | function path(object) { |
| 3424 | if (object) { |
| 3425 | if (typeof pointRadius === "function") contextStream.pointRadius(+pointRadius.apply(this, arguments)); |
| 3426 | if (!cacheStream || !cacheStream.valid) cacheStream = projectStream(contextStream); |
| 3427 | d3.geo.stream(object, cacheStream); |
| 3428 | } |
| 3429 | return contextStream.result(); |
| 3430 | } |
| 3431 | path.area = function(object) { |
| 3432 | d3_geo_pathAreaSum = 0; |
| 3433 | d3.geo.stream(object, projectStream(d3_geo_pathArea)); |
no outgoing calls
no test coverage detected