fix import locations
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import ID from '../Util/ID/ID.js.js'
|
||||
import { default as RootID, RootFakeUserID } from '../Util/ID/RootID.js.js'
|
||||
import ID from '../ID/ID.js'
|
||||
import { default as RootID, RootFakeUserID } from '../ID/RootID.js'
|
||||
|
||||
/**
|
||||
* A BinaryDecoder handles the decoding of an ArrayBuffer.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { RootFakeUserID } from '../Util/ID/RootID.js.js'
|
||||
import { RootFakeUserID } from '../ID/RootID.js'
|
||||
|
||||
const bits7 = 0b1111111
|
||||
const bits8 = 0b11111111
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getReference } from './structReferences.js'
|
||||
import { getStructReference } from '../structReferences.js'
|
||||
|
||||
export const RootFakeUserID = 0xFFFFFF
|
||||
|
||||
@@ -6,7 +6,7 @@ export default class RootID {
|
||||
constructor (name, typeConstructor) {
|
||||
this.user = RootFakeUserID
|
||||
this.name = name
|
||||
this.type = getReference(typeConstructor)
|
||||
this.type = getStructReference(typeConstructor)
|
||||
}
|
||||
equals (id) {
|
||||
return id !== null && id.user === this.user && id.name === this.name && id.type === this.type
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import ID from './ID.js'
|
||||
import ID from './ID/ID.js'
|
||||
|
||||
class ReverseOperation {
|
||||
constructor (y, transaction) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
import ID from '../Util/ID/ID.js.js'
|
||||
import ID from '../Util/ID/ID.js'
|
||||
import ItemJSON from '../Struct/ItemJSON.js'
|
||||
import ItemString from '../Struct/ItemString.js'
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import ID from './ID.js'
|
||||
import RootID from './RootID.js'
|
||||
import ID from './ID/ID.js'
|
||||
import RootID from './ID/RootID.js'
|
||||
|
||||
/**
|
||||
* A relative position that is based on the Yjs model. In contrast to an
|
||||
|
||||
Reference in New Issue
Block a user