refix array tests and switch to lib0

This commit is contained in:
Kevin Jahns
2019-03-10 23:26:53 +01:00
parent 0a5753c191
commit 39cee7c6e7
25 changed files with 80 additions and 81 deletions

View File

@@ -2,7 +2,7 @@
* @module utils
*/
import { Tree } from 'funlib/tree.js'
import { Tree } from 'lib0/tree.js'
import * as ID from './ID.js'
export class DSNode {

View File

@@ -3,8 +3,8 @@
*/
import { getStructReference } from 'y-protocols/sync.js'
import * as decoding from 'funlib/decoding.js'
import * as encoding from 'funlib/encoding.js'
import * as decoding from 'lib0/decoding.js'
import * as encoding from 'lib0/encoding.js'
export class ID {
constructor (user, clock) {

View File

@@ -2,7 +2,7 @@
* @module utils
*/
import { Tree } from 'funlib/tree.js'
import { Tree } from 'lib0/tree.js'
import * as ID from '../utils/ID.js'
import { getStruct } from 'y-protocols/sync.js'
import { GC } from '../structs/GC.js'

View File

@@ -2,7 +2,7 @@
* @module utils
*/
import * as encoding from 'funlib/encoding.js'
import * as encoding from 'lib0/encoding.js'
/**
* A transaction is created for every change on the Yjs model. It is possible

View File

@@ -1,9 +1,9 @@
import { DeleteStore } from './DeleteStore.js'
import { OperationStore } from './OperationStore.js'
import { StateStore } from './StateStore.js'
import * as random from 'funlib/random.js'
import * as random from 'lib0/random.js'
import { createRootID } from './ID.js'
import { Observable } from 'funlib/observable.js'
import { Observable } from 'lib0/observable.js'
import { Transaction } from './Transaction.js'
/**

View File

@@ -3,7 +3,7 @@
*/
import { getStruct } from 'y-protocols/sync.js'
import * as decoding from 'funlib/decoding.js'
import * as decoding from 'lib0/decoding.js'
import { GC } from '../structs/GC.js'
import { Y } from '../utils/Y.js' // eslint-disable-line
import { Item } from '../structs/Item.js' // eslint-disable-line