Fixes eligrey/FileSaver.js/#12

This commit is contained in:
Eli Grey
2013-06-21 11:10:48 -03:00
parent 1994f1af9d
commit 6f36e8aab6
+2 -1
View File
@@ -15,7 +15,8 @@
/*! @source http://purl.eligrey.com/github/Blob.js/blob/master/Blob.js */
if (typeof Blob !== "function" || typeof URL === "undefined")
var Blob = (function (view) {
if (typeof Blob === "function" && typeof webkitURL !== "undefined") var URL = webkitURL;
else var Blob = (function (view) {
"use strict";
var BlobBuilder = view.BlobBuilder || view.WebKitBlobBuilder || view.MozBlobBuilder || view.MSBlobBuilder || (function(view) {