Blob not defined

This commit is contained in:
Jimmy Wärting
2019-04-18 01:36:19 +02:00
parent a3ec58c557
commit 7f8c94e210
+6 -6
View File
@@ -472,12 +472,6 @@
global.Blob = Blob
}
if (strTag) {
File.prototype[strTag] = 'File'
Blob.prototype[strTag] = 'Blob'
FileReader.prototype[strTag] = 'FileReader'
}
function fixFileAndXHR () {
var isIE = !!global.ActiveXObject || (
'-ms-scroll-limit' in document.documentElement.style &&
@@ -547,6 +541,12 @@
FakeBlobBuilder()
}
if (strTag) {
File.prototype[strTag] = 'File'
Blob.prototype[strTag] = 'Blob'
FileReader.prototype[strTag] = 'FileReader'
}
var blob = global.Blob.prototype
var stream