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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user