fix compiling issues

This commit is contained in:
Kevin Jahns
2017-10-14 23:03:24 +02:00
parent 82015d5a37
commit 0e426f8928
36 changed files with 192 additions and 309 deletions

View File

@@ -1,5 +1,5 @@
import { getStruct } from '../Util/StructReferences'
import BinaryDecoder from '../Util/Binary/Decoder'
import { getStruct } from '../Util/StructReferences.js'
import BinaryDecoder from '../Binary/Decoder.js'
class MissingEntry {
constructor (decoder, missing, struct) {
@@ -39,7 +39,7 @@ function _integrateRemoteStructHelper (y, struct) {
}
}
export default function integrateRemoteStructs (decoder, encoder, y) {
export function integrateRemoteStructs (decoder, encoder, y) {
while (decoder.length !== decoder.pos) {
let decoderPos = decoder.pos
let reference = decoder.readVarUint()