Skip to content

Commit 00b9d19

Browse files
committed
3.6.1
1 parent fe405c1 commit 00b9d19

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

d3.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
!function() {
22
var d3 = {
3-
version: "3.6.0"
3+
version: "3.6.1"
44
};
55
var d3_arraySlice = [].slice, d3_array = function(list) {
66
return d3_arraySlice.call(list);
@@ -1182,7 +1182,7 @@
11821182
svg.remove();
11831183
}
11841184
}
1185-
if (d3_mouse_bug44083) point.x = e.pageX, point.y = e.pageY; else point.x = e.clientX,
1185+
if (d3_mouse_bug44083) point.x = e.pageX, point.y = e.pageY; else point.x = e.clientX,
11861186
point.y = e.clientY;
11871187
point = point.matrixTransform(container.getScreenCTM().inverse());
11881188
return [ point.x, point.y ];
@@ -1557,7 +1557,7 @@
15571557
}
15581558
function mousewheeled() {
15591559
var dispatch = event.of(this, arguments);
1560-
if (mousewheelTimer) clearTimeout(mousewheelTimer); else d3_selection_interrupt.call(this),
1560+
if (mousewheelTimer) clearTimeout(mousewheelTimer); else d3_selection_interrupt.call(this),
15611561
translate0 = location(center0 = center || d3.mouse(this)), zoomstarted(dispatch);
15621562
mousewheelTimer = setTimeout(function() {
15631563
mousewheelTimer = null;
@@ -1926,7 +1926,7 @@
19261926
d3.xhr = d3_xhrType(d3_identity);
19271927
function d3_xhrType(response) {
19281928
return function(url, mimeType, callback) {
1929-
if (arguments.length === 2 && typeof mimeType === "function") callback = mimeType,
1929+
if (arguments.length === 2 && typeof mimeType === "function") callback = mimeType,
19301930
mimeType = null;
19311931
return d3_xhr(url, mimeType, response, callback);
19321932
};
@@ -2772,7 +2772,7 @@
27722772
return n ? (date.y = d3_time_expandYear(+n[0]), i + n[0].length) : -1;
27732773
}
27742774
function d3_time_parseZone(date, string, i) {
2775-
return /^[+-]\d{4}$/.test(string = string.slice(i, i + 5)) ? (date.Z = -string,
2775+
return /^[+-]\d{4}$/.test(string = string.slice(i, i + 5)) ? (date.Z = -string,
27762776
i + 5) : -1;
27772777
}
27782778
function d3_time_expandYear(d) {
@@ -2965,7 +2965,7 @@
29652965
var λ00, φ00, λ0, cosφ0, sinφ0;
29662966
d3_geo_area.point = function(λ, φ) {
29672967
d3_geo_area.point = nextPoint;
2968-
λ0 = (λ00 = λ) * d3_radians, cosφ0 = Math.cos(φ = (φ00 = φ) * d3_radians / 2 + π / 4),
2968+
λ0 = (λ00 = λ) * d3_radians, cosφ0 = Math.cos(φ = (φ00 = φ) * d3_radians / 2 + π / 4),
29692969
sinφ0 = Math.sin(φ);
29702970
};
29712971
function nextPoint(λ, φ) {
@@ -4794,7 +4794,7 @@
47944794
return _ ? center([ -_[1], _[0] ]) : (_ = center(), [ _[1], -_[0] ]);
47954795
};
47964796
projection.rotate = function(_) {
4797-
return _ ? rotate([ _[0], _[1], _.length > 2 ? _[2] + 90 : 90 ]) : (_ = rotate(),
4797+
return _ ? rotate([ _[0], _[1], _.length > 2 ? _[2] + 90 : 90 ]) : (_ = rotate(),
47984798
[ _[0], _[1], _[2] - 90 ]);
47994799
};
48004800
return rotate([ 0, 0, 90 ]);
@@ -5648,7 +5648,7 @@
56485648
};
56495649
quadtree.extent = function(_) {
56505650
if (!arguments.length) return x1 == null ? null : [ [ x1, y1 ], [ x2, y2 ] ];
5651-
if (_ == null) x1 = y1 = x2 = y2 = null; else x1 = +_[0][0], y1 = +_[0][1], x2 = +_[1][0],
5651+
if (_ == null) x1 = y1 = x2 = y2 = null; else x1 = +_[0][0], y1 = +_[0][1], x2 = +_[1][0],
56525652
y2 = +_[1][1];
56535653
return quadtree;
56545654
};
@@ -7373,7 +7373,7 @@
73737373
return d3_layout_treemapPad(node, x);
73747374
}
73757375
var type;
7376-
pad = (padding = x) == null ? d3_layout_treemapPadNull : (type = typeof x) === "function" ? padFunction : type === "number" ? (x = [ x, x, x, x ],
7376+
pad = (padding = x) == null ? d3_layout_treemapPadNull : (type = typeof x) === "function" ? padFunction : type === "number" ? (x = [ x, x, x, x ],
73777377
padConstant) : padConstant;
73787378
return treemap;
73797379
};
@@ -7776,7 +7776,7 @@
77767776
};
77777777
scale.rangePoints = function(x, padding) {
77787778
if (arguments.length < 2) padding = 0;
7779-
var start = x[0], stop = x[1], step = domain.length < 2 ? (start = (start + stop) / 2,
7779+
var start = x[0], stop = x[1], step = domain.length < 2 ? (start = (start + stop) / 2,
77807780
0) : (stop - start) / (domain.length - 1 + padding);
77817781
range = steps(start + step * padding / 2, step);
77827782
rangeBand = 0;
@@ -7788,7 +7788,7 @@
77887788
};
77897789
scale.rangeRoundPoints = function(x, padding) {
77907790
if (arguments.length < 2) padding = 0;
7791-
var start = x[0], stop = x[1], step = domain.length < 2 ? (start = stop = Math.round((start + stop) / 2),
7791+
var start = x[0], stop = x[1], step = domain.length < 2 ? (start = stop = Math.round((start + stop) / 2),
77927792
0) : (stop - start) / (domain.length - 1 + padding) | 0;
77937793
range = steps(start + Math.round(step * padding / 2 + (stop - start - (domain.length - 1 + padding) * step) / 2), step);
77947794
rangeBand = 0;
@@ -8216,7 +8216,7 @@
82168216
return points.length < 4 ? d3_svg_lineLinear(points) : points[1] + d3_svg_lineHermite(points.slice(1, -1), d3_svg_lineCardinalTangents(points, tension));
82178217
}
82188218
function d3_svg_lineCardinalClosed(points, tension) {
8219-
return points.length < 3 ? d3_svg_lineLinearClosed(points) : points[0] + d3_svg_lineHermite((points.push(points[0]),
8219+
return points.length < 3 ? d3_svg_lineLinearClosed(points) : points[0] + d3_svg_lineHermite((points.push(points[0]),
82208220
points), d3_svg_lineCardinalTangents([ points[points.length - 2] ].concat(points, [ points[1] ]), tension));
82218221
}
82228222
function d3_svg_lineCardinal(points, tension) {
@@ -8989,7 +8989,7 @@
89898989
var g = d3.select(this);
89908990
var scale0 = this.__chart__ || scale, scale1 = this.__chart__ = scale.copy();
89918991
var ticks = tickValues == null ? scale1.ticks ? scale1.ticks.apply(scale1, tickArguments_) : scale1.domain() : tickValues, tickFormat = tickFormat_ == null ? scale1.tickFormat ? scale1.tickFormat.apply(scale1, tickArguments_) : d3_identity : tickFormat_, tick = g.selectAll(".tick").data(ticks, scale1), tickEnter = tick.enter().insert("g", ".domain").attr("class", "tick").style("opacity", ε), tickExit = d3.transition(tick.exit()).style("opacity", ε).remove(), tickUpdate = d3.transition(tick.order()).style("opacity", 1), tickSpacing = Math.max(innerTickSize, 0) + tickPadding, tickTransform;
8992-
var range = d3_scaleRange(scale1), path = g.selectAll(".domain").data([ 0 ]), pathUpdate = (path.enter().append("path").attr("class", "domain"),
8992+
var range = d3_scaleRange(scale1), path = g.selectAll(".domain").data([ 0 ]), pathUpdate = (path.enter().append("path").attr("class", "domain"),
89938993
d3.transition(path));
89948994
tickEnter.append("line");
89958995
tickEnter.append("text");

d3.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Package.describe({
44
name: "d3js:d3", // http://atmospherejs.com/d3js/d3
55
summary: "D3 (official): A JavaScript visualization library for HTML and SVG.",
6-
version: "3.6.0",
6+
version: "3.6.1",
77
git: "https://github.com/mbostock/d3.git"
88
});
99

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@plotly/d3",
3-
"version": "3.6.0",
3+
"version": "3.6.1",
44
"description": "A JavaScript visualization library for HTML and SVG.",
55
"keywords": [
66
"dom",

src/start.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
!function(){
2-
var d3 = {version: "3.6.0"}; // semver
2+
var d3 = {version: "3.6.1"}; // semver

0 commit comments

Comments
 (0)