fixing alerts

This commit is contained in:
ppisljar 2016-12-16 14:48:12 +01:00
parent c6b3e767c5
commit 1e195f7c0f

View file

@ -11,9 +11,9 @@ export default function AlertsFactory(Private) {
* @param el {HTMLElement} Reference to DOM element
*/
class Alerts {
constructor(vis, data, alertDefs) {
constructor(vis, alertDefs) {
this.vis = vis;
this.data = data;
this.data = vis.data;
this.binder = new Binder();
this.alertDefs = alertDefs || [];