Skip to content

Commit

Permalink
Oops, forgot generated files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Bostock committed Sep 7, 2010
1 parent dd9005e commit d209168
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions polymaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ if (!org) var org = {};
if (!org.polymaps) org.polymaps = {};
(function(po){

po.version = "2.1.0"; // semver.org
po.version = "2.1.1"; // semver.org

var zero = {x: 0, y: 0};
po.id = (function() {
Expand Down Expand Up @@ -966,9 +966,8 @@ po.layer = function(load, unload) {

layer.visible = function(x) {
if (!arguments.length) return visible;
visible = x
? container.removeAttribute("visibility")
: container.setAttribute("visibility", "hidden");
if (visible = x) container.removeAttribute("visibility")
else container.setAttribute("visibility", "hidden");
if (map) move();
return layer;
};
Expand Down
4 changes: 2 additions & 2 deletions polymaps.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d209168

Please sign in to comment.