Skip to content

Commit 8a27a97

Browse files
committed
chore(version): bump to v0.6.14
1 parent 9e26517 commit 8a27a97

9 files changed

+27
-26
lines changed

.bmp.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
version: 0.6.13
2+
version: 0.6.14
33
commit: 'chore(version): bump to v%.%.%'
44
files:
55
src/core.js: 'version: "%.%.%"'

c3.js

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* @license C3.js v0.6.17 | (c) C3 Team and other contributors | http://c3js.org/ */
1+
/* @license C3.js v0.6.14 | (c) C3 Team and other contributors | http://c3js.org/ */
22
(function (global, factory) {
33
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
44
typeof define === 'function' && define.amd ? define(factory) :
@@ -1153,7 +1153,7 @@
11531153
};
11541154

11551155
var c3 = {
1156-
version: "0.6.13",
1156+
version: "0.6.14",
11571157
chart: {
11581158
fn: Chart.prototype,
11591159
internal: {
@@ -4917,14 +4917,12 @@
49174917
Chart.prototype.selected = function (targetId) {
49184918
var $$ = this.internal,
49194919
d3 = $$.d3;
4920-
return d3.merge($$.main.selectAll('.' + CLASS.shapes + $$.getTargetSelectorSuffix(targetId)).selectAll('.' + CLASS.shape).filter(function () {
4920+
return $$.main.selectAll('.' + CLASS.shapes + $$.getTargetSelectorSuffix(targetId)).selectAll('.' + CLASS.shape).filter(function () {
49214921
return d3.select(this).classed(CLASS.SELECTED);
4922-
}).map(function (d) {
4923-
return d.map(function (d) {
4924-
var data = d.__data__;
4925-
return data.data ? data.data : data;
4926-
});
4927-
}));
4922+
}).nodes().map(function (d) {
4923+
var data = d.__data__;
4924+
return data.data ? data.data : data;
4925+
});
49284926
};
49294927

49304928
Chart.prototype.select = function (ids, indices, resetOther) {

c3.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

component.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "c3",
33
"repo": "masayuki0812/c3",
44
"description": "A D3-based reusable chart library",
5-
"version": "0.6.13",
5+
"version": "0.6.14",
66
"keywords": [],
77
"dependencies": {
88
"mbostock/d3": "v5.0.0"

docs/index.html.haml

+5
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@
3838

3939
%h3 Change Log
4040
%ul
41+
%li
42+
<a href="https://github.com/c3js/c3/releases/tag/v0.6.14">v0.6.14</a><span class="gray">&nbsp;-&nbsp;2019-03-27</span>
43+
%ul
44+
%li Fixed a memory leak.
45+
%li Fixed .selected() API.
4146
%li
4247
<a href="https://github.com/c3js/c3/releases/tag/v0.6.13">v0.6.13</a><span class="gray">&nbsp;-&nbsp;2019-03-04</span>
4348
%ul

docs/js/c3.js

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* @license C3.js v0.6.17 | (c) C3 Team and other contributors | http://c3js.org/ */
1+
/* @license C3.js v0.6.14 | (c) C3 Team and other contributors | http://c3js.org/ */
22
(function (global, factory) {
33
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
44
typeof define === 'function' && define.amd ? define(factory) :
@@ -1153,7 +1153,7 @@
11531153
};
11541154

11551155
var c3 = {
1156-
version: "0.6.13",
1156+
version: "0.6.14",
11571157
chart: {
11581158
fn: Chart.prototype,
11591159
internal: {
@@ -4917,14 +4917,12 @@
49174917
Chart.prototype.selected = function (targetId) {
49184918
var $$ = this.internal,
49194919
d3 = $$.d3;
4920-
return d3.merge($$.main.selectAll('.' + CLASS.shapes + $$.getTargetSelectorSuffix(targetId)).selectAll('.' + CLASS.shape).filter(function () {
4920+
return $$.main.selectAll('.' + CLASS.shapes + $$.getTargetSelectorSuffix(targetId)).selectAll('.' + CLASS.shape).filter(function () {
49214921
return d3.select(this).classed(CLASS.SELECTED);
4922-
}).map(function (d) {
4923-
return d.map(function (d) {
4924-
var data = d.__data__;
4925-
return data.data ? data.data : data;
4926-
});
4927-
}));
4922+
}).nodes().map(function (d) {
4923+
var data = d.__data__;
4924+
return data.data ? data.data : data;
4925+
});
49284926
};
49294927

49304928
Chart.prototype.select = function (ids, indices, resetOther) {

docs/js/c3.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "c3",
3-
"version": "0.6.13",
3+
"version": "0.6.14",
44
"description": "D3-based reusable chart library",
55
"main": "c3.js",
66
"files": [

src/core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
} from './util';
2121

2222
var c3 = {
23-
version: "0.6.13",
23+
version: "0.6.14",
2424
chart: {
2525
fn: Chart.prototype,
2626
internal: {

0 commit comments

Comments
 (0)