Skip to content

Commit 78876e3

Browse files
committed
chore(version): bump to v0.7.10
1 parent eea02da commit 78876e3

9 files changed

+90
-14
lines changed

.bmp.yml

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

c3.js

+39-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* @license C3.js v0.7.9 | (c) C3 Team and other contributors | http://c3js.org/ */
1+
/* @license C3.js v0.7.10 | (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) :
@@ -1232,7 +1232,7 @@
12321232
};
12331233

12341234
var c3 = {
1235-
version: "0.7.9",
1235+
version: "0.7.10",
12361236
chart: {
12371237
fn: Chart.prototype,
12381238
internal: {
@@ -4240,6 +4240,39 @@
42404240
return String(this) + padString.slice(0, targetLength);
42414241
}
42424242
};
4243+
} // Object.assign polyfill for IE11
4244+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill
4245+
4246+
4247+
if (typeof Object.assign !== 'function') {
4248+
// Must be writable: true, enumerable: false, configurable: true
4249+
Object.defineProperty(Object, "assign", {
4250+
value: function assign(target, varArgs) {
4251+
4252+
if (target === null || target === undefined) {
4253+
throw new TypeError('Cannot convert undefined or null to object');
4254+
}
4255+
4256+
var to = Object(target);
4257+
4258+
for (var index = 1; index < arguments.length; index++) {
4259+
var nextSource = arguments[index];
4260+
4261+
if (nextSource !== null && nextSource !== undefined) {
4262+
for (var nextKey in nextSource) {
4263+
// Avoid bugs when hasOwnProperty is shadowed
4264+
if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
4265+
to[nextKey] = nextSource[nextKey];
4266+
}
4267+
}
4268+
}
4269+
}
4270+
4271+
return to;
4272+
},
4273+
writable: true,
4274+
configurable: true
4275+
});
42434276
}
42444277
/* jshint ignore:end */
42454278

@@ -9629,7 +9662,10 @@
96299662
};
96309663

96319664
ChartInternal.prototype.redrawBar = function (drawBar, withTransition, transition) {
9632-
return [(withTransition ? this.mainBar.transition(transition) : this.mainBar).attr('d', drawBar).style("stroke", this.color).style("fill", this.color).style("opacity", 1)];
9665+
var $$ = this;
9666+
return [(withTransition ? this.mainBar.transition(transition) : this.mainBar).attr('d', drawBar).style("stroke", this.color).style("fill", this.color).style("opacity", function (d) {
9667+
return $$.isTargetToShow(d.id) ? 1 : 0;
9668+
})];
96339669
};
96349670

96359671
ChartInternal.prototype.getBarW = function (axis, barTargetsNum) {

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.7.9",
5+
"version": "0.7.10",
66
"keywords": [],
77
"dependencies": {
88
"mbostock/d3": "v5.0.0"

docs/index.html.haml

+4
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838

3939
%h3 Change Log
4040
%ul
41+
%li
42+
<a href="https://github.com/c3js/c3/releases/tag/v0.7.10">v0.7.10</a><span class="gray">&nbsp;-&nbsp;2019-10-02</span>
43+
%ul
44+
%li Bug fixes.
4145
%li
4246
<a href="https://github.com/c3js/c3/releases/tag/v0.7.9">v0.7.9</a><span class="gray">&nbsp;-&nbsp;2019-09-23</span>
4347
%ul

docs/js/c3.js

+39-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* @license C3.js v0.7.9 | (c) C3 Team and other contributors | http://c3js.org/ */
1+
/* @license C3.js v0.7.10 | (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) :
@@ -1232,7 +1232,7 @@
12321232
};
12331233

12341234
var c3 = {
1235-
version: "0.7.9",
1235+
version: "0.7.10",
12361236
chart: {
12371237
fn: Chart.prototype,
12381238
internal: {
@@ -4240,6 +4240,39 @@
42404240
return String(this) + padString.slice(0, targetLength);
42414241
}
42424242
};
4243+
} // Object.assign polyfill for IE11
4244+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill
4245+
4246+
4247+
if (typeof Object.assign !== 'function') {
4248+
// Must be writable: true, enumerable: false, configurable: true
4249+
Object.defineProperty(Object, "assign", {
4250+
value: function assign(target, varArgs) {
4251+
4252+
if (target === null || target === undefined) {
4253+
throw new TypeError('Cannot convert undefined or null to object');
4254+
}
4255+
4256+
var to = Object(target);
4257+
4258+
for (var index = 1; index < arguments.length; index++) {
4259+
var nextSource = arguments[index];
4260+
4261+
if (nextSource !== null && nextSource !== undefined) {
4262+
for (var nextKey in nextSource) {
4263+
// Avoid bugs when hasOwnProperty is shadowed
4264+
if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
4265+
to[nextKey] = nextSource[nextKey];
4266+
}
4267+
}
4268+
}
4269+
}
4270+
4271+
return to;
4272+
},
4273+
writable: true,
4274+
configurable: true
4275+
});
42434276
}
42444277
/* jshint ignore:end */
42454278

@@ -9629,7 +9662,10 @@
96299662
};
96309663

96319664
ChartInternal.prototype.redrawBar = function (drawBar, withTransition, transition) {
9632-
return [(withTransition ? this.mainBar.transition(transition) : this.mainBar).attr('d', drawBar).style("stroke", this.color).style("fill", this.color).style("opacity", 1)];
9665+
var $$ = this;
9666+
return [(withTransition ? this.mainBar.transition(transition) : this.mainBar).attr('d', drawBar).style("stroke", this.color).style("fill", this.color).style("opacity", function (d) {
9667+
return $$.isTargetToShow(d.id) ? 1 : 0;
9668+
})];
96339669
};
96349670

96359671
ChartInternal.prototype.getBarW = function (axis, barTargetsNum) {

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.7.9",
3+
"version": "0.7.10",
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.7.9",
23+
version: "0.7.10",
2424
chart: {
2525
fn: Chart.prototype,
2626
internal: {

0 commit comments

Comments
 (0)