Fix bug on class migration on constructor

This commit is contained in:
Paulo Gustavo Veiga 2021-12-13 13:44:05 -08:00
parent a10b41ee4d
commit 0b5b03691b

View File

@ -19,14 +19,9 @@
// FIXME: this Class should be reimplemented
import Events from '../Events';
class FadeEffect extends Events {/** @lends FadeEffect */
/**
* @extends mindplot.Events
* @constructs
* @param elements
* @param isVisible
*/
initialize(elements, isVisible) {
class FadeEffect extends Events {
constructor(elements, isVisible) {
super();
this._isVisible = isVisible;
this._element = elements;
}