Browse Source

Merge pull request #480 from jonnyf/master

Add missing declaration of index
Jairo 6 years ago
parent
commit
9b8ae36ac3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/util.ts

+ 1 - 0
lib/util.ts

@@ -266,6 +266,7 @@ export const util = {
   chunk: function(bl) {
     var chunks = [];
     var size = bl.size;
+    var index;
     var start = (index = 0);
     var total = Math.ceil(size / util.chunkedMTU);
     while (start < size) {