Esiur 1.2.4

This commit is contained in:
ahmed committed 2019-07-16 03:20:10 +03:00
1 parent de5f2cbdd2
commit 3ac2eccf0f
7 files changed
+19 -7

No files matched your search

+8
View File
@@ -183,10 +183,18 @@ export default class DistributedResource extends IResource
var pt = this.instance.template.getPropertyTemplateByIndex(index);
this._p.properties[index] = value;
this.instance.emitModification(pt, value);
// this to invoke other property setters
this._p.neglect = true;
this[pt.name] = null;
this._p.neglect = false;
}
_set(index, value)
{
if (this._p.neglect)
return;
if (index >= this._p.properties.length)
return null;