after refactor - some tests are working again
This commit is contained in:
@@ -108,6 +108,9 @@ export class ItemJSONRef extends AbstractItemRef {
|
||||
}
|
||||
this.content = cs
|
||||
}
|
||||
get length () {
|
||||
return this.content.length
|
||||
}
|
||||
/**
|
||||
* @param {Transaction} transaction
|
||||
* @return {ItemJSON}
|
||||
@@ -120,7 +123,7 @@ export class ItemJSONRef extends AbstractItemRef {
|
||||
this.left === null ? null : getItemCleanEnd(store, transaction, this.left),
|
||||
this.right === null ? null : getItemCleanStart(store, transaction, this.right),
|
||||
// @ts-ignore
|
||||
this.parent === null ? y.get(this.parentYKey) : getItemType(store, this.parent),
|
||||
this.parent === null ? y.get(this.parentYKey) : getItemType(store, this.parent).type,
|
||||
this.parentSub,
|
||||
this.content
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user