We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e75b36 commit 468f066Copy full SHA for 468f066
1 file changed
assets/js/File_Zipper_js/huffman.js
@@ -29,10 +29,9 @@ class HuffmanCoder{
29
let res = String(index*2)+" <= "+index+" => "+String(index*2+1);
30
return res + '\n' + left + '\n' + right;
31
}
32
-
33
- destringify(data){
+ destringify(data){
34
let node = [];
35
- if(data[this.ind]==='\'){
+ if(data[this.ind]==='\''){
36
this.ind++;
37
node.push(data[this.ind]);
38
@@ -49,6 +48,7 @@ class HuffmanCoder{
49
48
return node;
50
51
+
52
getMappings(node, path){
53
if(typeof(node[1])==="string"){
54
this.mappings[node[1]] = path;
0 commit comments