finished & tested DeleteStore

This commit is contained in:
Kevin Jahns
2015-07-25 16:28:05 +00:00
parent 420821be31
commit 5e0d602e12
7 changed files with 174 additions and 77 deletions

View File

@@ -32,6 +32,7 @@ var Struct = {
if (!target.deleted) {
target.deleted = true
yield* this.setOperation(target)
this.ds.delete(target.id)
var t = this.store.initializedTypes[JSON.stringify(target.parent)]
if (t != null) {
yield* t._changed(this, copyObject(op))