Hi, am trying to implement Browsersync and Webpack, with hot reload.
Problem seems to be that id’s are persisted after a destructor() is called on the parent !
Any way to force destructor() to remove all ids of children, so that they can be recreated with exactly the same id’s ??
Problem seems to be in ProtoUI.id_setter
id_setter:function(value){
if (webix._global_collection && (webix._global_collection != this || this._prev_global_col)){
var oldvalue = this.config.$id = value;
(this._prev_global_col || webix._global_collection)._elements[value] = this;
value = webix.ui._uid(this.name);
(this._prev_global_col || webix._global_collection)._translate_ids[value]=oldvalue;
}
webix.assert(!webix.ui.views[value], "Non unique view id: "+value);
webix.ui.views[value] = this;
this._viewobj.setAttribute("view_id", value);
return value;