Permalink
Browse files

Avoid a bug in UglifyJS.

  • Loading branch information...
1 parent 7a1f67b commit f90bc4fd50cdf8d9e47fa01fd3428e6b7705bcd3 @mbostock mbostock committed Sep 2, 2011
Showing with 6 additions and 6 deletions.
  1. +2 −2 d3.js
  2. +2 −2 d3.min.js
  3. +1 −1 src/core/core.js
  4. +1 −1 src/svg/axis.js
View
@@ -10,7 +10,7 @@ try {
d3_style_setProperty.call(this, name, value + "", priority);
};
}
-d3 = {version: "2.1.2"}; // semver
+d3 = {version: "2.1.3"}; // semver
var d3_arraySubclass = [].__proto__?
// Until ECMAScript supports array subclassing, prototype injection works well.
@@ -3544,7 +3544,7 @@ d3.svg.axis = function() {
// Domain.
var range = d3_scaleExtent(scale.range()),
- path = g.selectAll(".domain").data([,]),
+ path = g.selectAll(".domain").data([0]),
pathEnter = path.enter().append("svg:path").attr("class", "domain"),
pathUpdate = transition(path);
View
Oops, something went wrong.
View
@@ -1 +1 @@
-d3 = {version: "2.1.2"}; // semver
+d3 = {version: "2.1.3"}; // semver
View
@@ -33,7 +33,7 @@ d3.svg.axis = function() {
// Domain.
var range = d3_scaleExtent(scale.range()),
- path = g.selectAll(".domain").data([,]),
+ path = g.selectAll(".domain").data([0]),
pathEnter = path.enter().append("svg:path").attr("class", "domain"),
pathUpdate = transition(path);

0 comments on commit f90bc4f

Please sign in to comment.