fix import locations

This commit is contained in:
Kevin Jahns
2018-03-06 05:22:18 +01:00
parent bbc207aaa6
commit 814af5a3d7
25 changed files with 49 additions and 48 deletions

View File

@@ -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.

View File

@@ -1,4 +1,4 @@
import { RootFakeUserID } from '../Util/ID/RootID.js.js'
import { RootFakeUserID } from '../ID/RootID.js'
const bits7 = 0b1111111
const bits8 = 0b11111111

View File

@@ -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

View File

@@ -1,4 +1,4 @@
import ID from './ID.js'
import ID from './ID/ID.js'
class ReverseOperation {
constructor (y, transaction) {

View File

@@ -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'

View File

@@ -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