Merge pull request #27 from udondan/master
Defining Blob as prop of self instead of window
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
/*! @source http://purl.eligrey.com/github/Blob.js/blob/master/Blob.js */
|
/*! @source http://purl.eligrey.com/github/Blob.js/blob/master/Blob.js */
|
||||||
|
|
||||||
if (!(typeof Blob === "function" || typeof Blob === "object") || typeof URL === "undefined")
|
if (!(typeof Blob === "function" || typeof Blob === "object") || typeof URL === "undefined")
|
||||||
window.Blob = (function (view) {
|
self.Blob = (function (view) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
view.URL = view.URL || view.webkitURL;
|
view.URL = view.URL || view.webkitURL;
|
||||||
|
|||||||
Reference in New Issue
Block a user