2
0
mirror of https://github.com/esiur/iui.git synced 2026-04-05 07:28:22 +00:00
This commit is contained in:
2021-12-18 16:25:51 +03:00
parent e52b89fb4d
commit f57c1b4bc5
9 changed files with 832 additions and 496 deletions

View File

@@ -33,10 +33,10 @@ export default class Modifiable
return true;
}
constructor(original){
constructor(original, copy = false){
this._events = {};
this._data = Modifiable._copy(original);
this._data = copy ? Modifiable._copy(original) : original;
this._original = original;
for(let p in this._data)