nolanlawson / blob-util

Cross-browser utils for working with binary Blobs
https://nolanlawson.github.io/blob-util
Apache License 2.0
503 stars 45 forks source link

Error with Angular 6.0.0 #42

Closed mbx2015 closed 6 years ago

mbx2015 commented 6 years ago

Uncaught ReferenceError: global is not defined var BlobBuilder = global.BlobBuilder || global.WebKitBlobBuilder || global.MSBlobBuilder || global.MozBlobBuilder;

nolanlawson commented 6 years ago

Hmmm, I believe this can only happen if some code messes with the global or window object. Do you have a repro to show how this is happening?

Also this is a bug in blob, not blob-util.

I'm inclined to close, because I am probably going to drop blob as a dependency anyway.

nolanlawson commented 6 years ago

This should be fixed in 2.0.0 now because I've dropped blob as a dependency