after refactor - some tests are working again
This commit is contained in:
@@ -97,6 +97,9 @@ export class ItemStringRef extends AbstractItemRef {
|
||||
*/
|
||||
this.string = decoding.readVarString(decoder)
|
||||
}
|
||||
get length () {
|
||||
return this.string.length
|
||||
}
|
||||
/**
|
||||
* @param {Transaction} transaction
|
||||
* @return {ItemString}
|
||||
@@ -109,7 +112,7 @@ export class ItemStringRef 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.string
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user