Skip to content

Commit

Permalink
Merge pull request #7 from guest271314/guest271314-patch-1
Browse files Browse the repository at this point in the history
Substitute type for mimeType at Blob constructor
  • Loading branch information
thenickdude committed Sep 17, 2019
2 parents 74e79cb + a10a1a3 commit 6571b58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BlobBuffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
result.push(buffer[i].data);
}

return new Blob(result, {mimeType: mimeType});
return new Blob(result, {type: mimeType});
});
}

Expand All @@ -224,4 +224,4 @@
} else {
window.BlobBuffer = BlobBuffer(null);
}
})();
})();

0 comments on commit 6571b58

Please sign in to comment.