diff --git a/Blob.js b/Blob.js index 4805daf..fabd941 100644 --- a/Blob.js +++ b/Blob.js @@ -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