nolanlawson/blob-util

Error with Angular 6.0.0

mbx2015 opened this issue · 2 comments

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

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.

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