1
0
Fork 0
mirror of https://github.com/sbrl/Nibriboard.git synced 2018-01-10 21:33:49 +00:00

[client] Fix crash by fiddling with imports

This commit is contained in:
Starbeamrainbowlabs 2017-05-04 21:38:30 +01:00
parent e7b6293278
commit 8d38086eaf

View file

@ -1,7 +1,8 @@
"use strict"; "use strict";
import ChunkReference from './ChunkReference.js'; import ChunkReference from './ChunkReference';
import Rectangle from './Utilities/Rectangle.js'; import Chunk from './Chunk';
import Rectangle from './Utilities/Rectangle';
class ChunkCache class ChunkCache
{ {
@ -70,7 +71,8 @@ class ChunkCache
{ {
for (let chunk of message.Chunks) { for (let chunk of message.Chunks) {
//let newChunkRef = new ChunkReference(); //let newChunkRef = new ChunkReference();
let newChunk = new Chunk(chunk.Location) let newChunk = new Chunk(chunk.Location);
} }
} }
} }