Remove unused constructor parameter (#7171)

This commit is contained in:
Ben McCann 2020-03-01 06:57:05 -08:00 committed by GitHub
parent a3dddb45d9
commit 6638549a75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -124,6 +124,8 @@ export default class BubbleController extends DatasetController {
}
/**
* @param {number} index
* @param {string} [mode]
* @protected
*/
resolveDataElementOptions(index, mode) {

View File

@ -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);
}
}
/**