fix preferUntransformed sync

This commit is contained in:
Kevin Jahns
2017-07-31 14:41:40 +02:00
parent 5384bf4faf
commit 4dce0816a6
6 changed files with 12 additions and 16 deletions

View File

@@ -1097,7 +1097,7 @@ export default function extendTransaction (Y) {
yield * this.os.put(op)
}
yield * this.os.iterate(this, null, null, function * (op) {
if (op.parent != null && op.parent[0] === 0xFFFFFF) {
if (op.parent != null) {
if (op.struct === 'Insert') {
// update parents .map/start/end properties
if (op.parentSub != null && op.left == null) {