Fix rendering test page

This commit is contained in:
John Firebaugh
2013-03-13 14:52:14 -07:00
parent 23a4c4792f
commit c29e98d997
+5 -1
View File
@@ -101,7 +101,7 @@
row.append('th')
.html(function (d) { return _.map(d, function (value, key) { return key + "=" + value;}).join("<br>"); });
var projection = Object,
var projection = function(p) { return p; },
filter = d3.functor(true),
a = iD.Node({loc: [15, 15]}),
b = iD.Node({loc: [185, 15]}),
@@ -110,6 +110,10 @@
lines = iD.svg.Lines(projection),
midpoints = iD.svg.Midpoints(projection);
projection.stream = function(listener) {
return listener;
};
row.selectAll('td')
.data(function (d) {
return _.flatten(zooms.map(function (z) {