mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Remove unused constructor parameter (#7171)
This commit is contained in:
parent
a3dddb45d9
commit
6638549a75
@ -124,6 +124,8 @@ export default class BubbleController extends DatasetController {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {number} index
|
||||
* @param {string} [mode]
|
||||
* @protected
|
||||
*/
|
||||
resolveDataElementOptions(index, mode) {
|
||||
|
@ -5,16 +5,12 @@ export default class Element {
|
||||
|
||||
static extend = inherits;
|
||||
|
||||
constructor(cfg) {
|
||||
constructor() {
|
||||
this.x = undefined;
|
||||
this.y = undefined;
|
||||
this.active = false;
|
||||
this.options = undefined;
|
||||
this.$animations = undefined;
|
||||
|
||||
if (cfg) {
|
||||
Object.assign(this, cfg);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user