dresscode-botex
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -52,3 +52,5 @@ Botex.ElemsStore = Bricks.inherit(Bricks.Component, { | ||
Object.keys(this._elems).forEach(function(name) { | ||
this._elems[name].forEach(function(elem) { | ||
var elems = this._elems[name]; | ||
this._elems[name] = []; | ||
elems.forEach(function(elem) { | ||
this._fireEvent('removeelem', { | ||
@@ -59,3 +61,2 @@ name: name, | ||
}, this); | ||
this._elems[name].length = 0; | ||
}, this); | ||
@@ -62,0 +63,0 @@ }, |
{ | ||
"name": "dresscode-botex", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "dresscode-bricks": "latest", |
46252
1236