diff --git a/test/rendering.html b/test/rendering.html index c0efbf4b1..73218a9e2 100644 --- a/test/rendering.html +++ b/test/rendering.html @@ -101,7 +101,7 @@ row.append('th') .html(function (d) { return _.map(d, function (value, key) { return key + "=" + value;}).join("
"); }); - 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) {