d3/test
Mike Bostock fdd6c62050 Support both open & closed polygons.
Rather than converting closed polygons to open polygons on input (which could
potentially be destructive), tweak the polygon methods slightly so that they
work on either input.

This commit also changes d3.geom.polygon to use a prototype, much like
d3.selection, rather than creating every method as a closure. This makes it much
faster to construct a polygon.
2013-06-28 08:31:16 -07:00
..
arrays Restore undefined behavior for d3.bisect. 2013-06-18 16:16:47 -07:00
color Saturation is only undefined for black and white. 2013-04-30 16:09:40 -07:00
core Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
data Fix benchmark by restoring test data file. 2012-12-20 22:47:10 -08:00
dsv Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
event Insert new tasks on the end. 2013-05-28 13:31:23 -07:00
format Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
geo Use additional precision for accumulating area. 2013-06-11 10:18:25 +01:00
geom Support both open & closed polygons. 2013-06-28 08:31:16 -07:00
interpolate Fix #1247 - more robust interpolation, again. 2013-05-15 15:48:13 -07:00
layout Add pack.radius for explicit radius. 2013-06-12 13:22:48 -07:00
math Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
scale Return undefined, not NaN. 2013-06-18 15:59:16 -07:00
selection Add tests for transition.{size,node}. 2013-06-20 08:52:00 -07:00
svg clean up leading whitespace 2013-06-24 16:37:28 -06:00
time Add support for parsing weekdays and week numbers. 2013-06-08 20:06:31 +01:00
transition Add tests for transition.{size,node}. 2013-06-20 08:52:00 -07:00
xhr If xhr.response errors, callback with error. 2013-05-22 17:02:51 -07:00
XMLHttpRequest.js Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
assert.js More robust type inference for d3.interpolate. 2013-03-31 09:46:07 -07:00
load.js Allow console.warn from tests. 2013-06-27 13:28:52 -07:00