Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
MUR Drupal
d3-library
Commits
b6bc8c9e
Commit
b6bc8c9e
authored
Mar 21, 2013
by
Mike Bostock
Browse files
Fix #1155 for d3.geom.quadtree.
parent
b9e35eb5
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
6 deletions
+8
-6
component.json
component.json
+1
-1
d3.js
d3.js
+2
-1
d3.min.js
d3.min.js
+2
-2
package.json
package.json
+1
-1
src/geom/quadtree.js
src/geom/quadtree.js
+1
-0
src/start.js
src/start.js
+1
-1
No files found.
component.json
View file @
b6bc8c9e
{
"name"
:
"d3"
,
"version"
:
"3.1.
1
"
,
"version"
:
"3.1.
2
"
,
"main"
:
"./d3.js"
}
d3.js
View file @
b6bc8c9e
d3
=
function
()
{
var
d3
=
{
version
:
"
3.1.
1
"
version
:
"
3.1.
2
"
};
if
(
!
Date
.
now
)
Date
.
now
=
function
()
{
return
+
new
Date
();
...
...
@@ -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
];
...
...
d3.min.js
View file @
b6bc8c9e
This diff is collapsed.
Click to expand it.
package.json
View file @
b6bc8c9e
{
"name"
:
"d3"
,
"version"
:
"3.1.
1
"
,
"version"
:
"3.1.
2
"
,
"description"
:
"A small, free JavaScript library for manipulating documents based on data."
,
"keywords"
:
[
"dom"
,
...
...
src/geom/quadtree.js
View file @
b6bc8c9e
...
...
@@ -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
];
...
...
src/start.js
View file @
b6bc8c9e
d3
=
(
function
(){
var
d3
=
{
version
:
"
3.1.
1
"
};
// semver
var
d3
=
{
version
:
"
3.1.
2
"
};
// semver
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment