Comparing version 0.6.13 to 0.6.14
{ | ||
"name": "c3", | ||
"version": "0.6.13", | ||
"version": "0.6.14", | ||
"description": "D3-based reusable chart library", | ||
@@ -5,0 +5,0 @@ "main": "c3.js", |
@@ -7,7 +7,6 @@ import CLASS from './class'; | ||
var $$ = this.internal, d3 = $$.d3; | ||
return d3.merge( | ||
$$.main.selectAll('.' + CLASS.shapes + $$.getTargetSelectorSuffix(targetId)).selectAll('.' + CLASS.shape) | ||
return $$.main.selectAll('.' + CLASS.shapes + $$.getTargetSelectorSuffix(targetId)).selectAll('.' + CLASS.shape) | ||
.filter(function () { return d3.select(this).classed(CLASS.SELECTED); }) | ||
.map(function (d) { return d.map(function (d) { var data = d.__data__; return data.data ? data.data : data; }); }) | ||
); | ||
.nodes() | ||
.map(function (d) { var data = d.__data__; return data.data ? data.data : data;}); | ||
}; | ||
@@ -14,0 +13,0 @@ Chart.prototype.select = function (ids, indices, resetOther) { |
@@ -23,3 +23,3 @@ import { | ||
var c3 = { | ||
version: "0.6.13", | ||
version: "0.6.14", | ||
chart: { | ||
@@ -1116,5 +1116,10 @@ fn: Chart.prototype, | ||
ChartInternal.prototype.generateWait = function() { | ||
var $$ = this; | ||
var transitionsToWait = [], | ||
f = function(callback) { | ||
var timer = setInterval(function() { | ||
if (!$$.isTabVisible()) { | ||
return; | ||
} | ||
var done = 0; | ||
@@ -1121,0 +1126,0 @@ transitionsToWait.forEach(function(t) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
931329
18054