2
0
mirror of https://github.com/esiur/esiur-js.git synced 2025-06-27 07:13:12 +00:00

Esiur 1.2.4

This commit is contained in:
2019-07-16 03:20:10 +03:00
parent de5f2cbdd2
commit 3ac2eccf0f
7 changed files with 19 additions and 7 deletions

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;