Skip to content

Commit ea265a8

Browse files
committed
Remove broken mercator example.
1 parent 1b9aa90 commit ea265a8

23 files changed

Lines changed: 4 additions & 7634 deletions

examples/mercator/mercator-zoom-constrained.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,15 @@
4343
.call(zoom);
4444

4545
var g = svg.append("g"),
46-
feature = g.selectAll(".feature");
46+
feature = g.append("path").attr("class", "feature");
4747

4848
svg.append("rect")
4949
.attr("class", "frame")
5050
.attr("width", width)
5151
.attr("height", height);
5252

5353
d3.json("../data/world-countries.json", function(error, collection) {
54-
feature = feature
55-
.data(collection.features)
56-
.enter().append("path")
57-
.attr("class", "feature")
58-
.attr("d", path);
54+
feature.datum(collection).attr("d", path);
5955
});
6056

6157
function move() {

examples/mercator/mercator-zoom.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,15 @@
4343
.call(zoom);
4444

4545
var g = svg.append("g"),
46-
feature = g.selectAll(".feature");
46+
feature = g.append("path").attr("class", "feature");
4747

4848
svg.append("rect")
4949
.attr("class", "frame")
5050
.attr("width", width)
5151
.attr("height", height);
5252

5353
d3.json("../data/world-countries.json", function(error, collection) {
54-
feature = feature
55-
.data(collection.features)
56-
.enter().append("path")
57-
.attr("class", "feature")
58-
.attr("d", path);
54+
feature.datum(collection).attr("d", path);
5955
});
6056

6157
function move() {

examples/mercator/mercator.html

Lines changed: 0 additions & 127 deletions
This file was deleted.

lib/jquery-ui/LICENSE

Lines changed: 0 additions & 25 deletions
This file was deleted.
-260 Bytes
Binary file not shown.
-251 Bytes
Binary file not shown.
-178 Bytes
Binary file not shown.
-104 Bytes
Binary file not shown.
-125 Bytes
Binary file not shown.
-105 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)