Skip to content

Commit 808217a

Browse files
Update huffman.js
1 parent ca56ddf commit 808217a

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

assets/js/File_Zipper_js/huffman.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
/**
2-
* Created by aarnavjindal on 25/04/20.
3-
*/
41

52
import { BinaryHeap } from './heap.js';
63

@@ -35,7 +32,7 @@ class HuffmanCoder{
3532

3633
destringify(data){
3734
let node = [];
38-
if(data[this.ind]==='\''){
35+
if(data[this.ind]==='\'){
3936
this.ind++;
4037
node.push(data[this.ind]);
4138
this.ind++;
@@ -162,4 +159,4 @@ class HuffmanCoder{
162159
let info = "Decompression complete and file sent for download";
163160
return [res, this.display(huffman_decoder, true), info];
164161
}
165-
}
162+
}

0 commit comments

Comments
 (0)