mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 07:25:15 +02:00
Fix rendering test page
This commit is contained in:
+5
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user