Skip to content

Commit

Permalink
Fix #1155 for d3.geom.quadtree.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Mar 21, 2013
1 parent b9e35eb commit b6bc8c9
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "d3",
"version": "3.1.1",
"version": "3.1.2",
"main": "./d3.js"
}
3 changes: 2 additions & 1 deletion d3.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
d3 = function() {
var d3 = {
version: "3.1.1"
version: "3.1.2"
};
if (!Date.now) Date.now = function() {
return +new Date();
Expand Down Expand Up @@ -4491,6 +4491,7 @@ d3 = function() {
x1_ = x1, y1_ = y1, x2_ = x2, y2_ = y2;
} else {
x2_ = y2_ = -(x1_ = y1_ = Infinity);
xs = [], ys = [];
n = data.length;
if (compat) for (i = 0; i < n; ++i) {
d = data[i];
Expand Down
4 changes: 2 additions & 2 deletions d3.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "d3",
"version": "3.1.1",
"version": "3.1.2",
"description": "A small, free JavaScript library for manipulating documents based on data.",
"keywords": [
"dom",
Expand Down
1 change: 1 addition & 0 deletions src/geom/quadtree.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ d3.geom.quadtree = function(points, x1, y1, x2, y2) {
} else {
// Compute bounds, and cache points temporarily.
x2_ = y2_ = -(x1_ = y1_ = Infinity);
xs = [], ys = [];
n = data.length;
if (compat) for (i = 0; i < n; ++i) {
d = data[i];
Expand Down
2 changes: 1 addition & 1 deletion src/start.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
d3 = (function(){
var d3 = {version: "3.1.1"}; // semver
var d3 = {version: "3.1.2"}; // semver

0 comments on commit b6bc8c9

Please sign in to comment.