aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ChatBox/ChunkManager.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/ChatBox/ChunkManager.ts')
-rw-r--r--src/client/views/nodes/ChatBox/ChunkManager.ts24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/client/views/nodes/ChatBox/ChunkManager.ts b/src/client/views/nodes/ChatBox/ChunkManager.ts
deleted file mode 100644
index 64c073640..000000000
--- a/src/client/views/nodes/ChatBox/ChunkManager.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-import { SimplifiedChunk } from './types';
-
-class ChunkManager {
- private chunks: SimplifiedChunk[];
-
- constructor() {
- this.chunks = [];
- }
-
- addChunk(chunk: SimplifiedChunk) {
- this.chunks.push(chunk);
- }
-
- removeChunk(chunk: SimplifiedChunk) {
- const index = this.chunks.indexOf(chunk);
- if (index !== -1) {
- this.chunks.splice(index, 1);
- }
- }
-
- getChunks() {
- return this.chunks;
- }
-}