Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mbostock/d3
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Jan 17, 2012
2 parents fbcb028 + be63aaf commit ad76418
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/spline/spline.js
Expand Up @@ -57,9 +57,6 @@ function update() {
.data(points, function(d) { return d; });

circle.enter().append("circle")
.attr("class", function(d) { return d === selected ? "selected" : null; })
.attr("cx", function(d) { return d[0]; })
.attr("cy", function(d) { return d[1]; })
.attr("r", 1e-6)
.on("mousedown", function(d) {
selected = dragged = d;
Expand All @@ -71,7 +68,7 @@ function update() {
.attr("r", 6.5);

circle
.attr("class", function(d) { return d === selected ? "selected" : null; })
.classed("selected", function(d) { return d === selected; })
.attr("cx", function(d) { return d[0]; })
.attr("cy", function(d) { return d[1]; });

Expand Down

0 comments on commit ad76418

Please sign in to comment.