Blob not defined
This commit is contained in:
@@ -472,12 +472,6 @@
|
|||||||
global.Blob = Blob
|
global.Blob = Blob
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strTag) {
|
|
||||||
File.prototype[strTag] = 'File'
|
|
||||||
Blob.prototype[strTag] = 'Blob'
|
|
||||||
FileReader.prototype[strTag] = 'FileReader'
|
|
||||||
}
|
|
||||||
|
|
||||||
function fixFileAndXHR () {
|
function fixFileAndXHR () {
|
||||||
var isIE = !!global.ActiveXObject || (
|
var isIE = !!global.ActiveXObject || (
|
||||||
'-ms-scroll-limit' in document.documentElement.style &&
|
'-ms-scroll-limit' in document.documentElement.style &&
|
||||||
@@ -547,6 +541,12 @@
|
|||||||
FakeBlobBuilder()
|
FakeBlobBuilder()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (strTag) {
|
||||||
|
File.prototype[strTag] = 'File'
|
||||||
|
Blob.prototype[strTag] = 'Blob'
|
||||||
|
FileReader.prototype[strTag] = 'FileReader'
|
||||||
|
}
|
||||||
|
|
||||||
var blob = global.Blob.prototype
|
var blob = global.Blob.prototype
|
||||||
var stream
|
var stream
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user