eligrey / Blob.js

An HTML5 Blob implementation
Other
1.15k stars 605 forks source link

Cant use with compatibility.js link : https://gist.github.com/ahhchuu/5823646 #52

Closed anand0401 closed 5 years ago

anand0401 commented 7 years ago

i m trying to do a excel download these two lines are failing var u8_2 = new Uint8Array(atob(ByteArray).split("").map(function(c) { return c.charCodeAt(0); })); var blob = new Blob( [ u8_2 ]);

u8_2 was undefined then i used compatibility.js code to fix it ..but then to fix undefined blob issue i m using ur code but i m getting error here

if (Uint8Array && (data instanceof ArrayBuffer || data instanceof Uint8Array)) { error: Invalid operand to 'instanceof': Function expected

both arraybuffer and uint8array comes as undefined...what changes do i need to do?

jimmywarting commented 5 years ago

old issue, should be closed. code has changes since.

anand0401 commented 5 years ago

Old Issue. Closing the thread