Merge pull request #11 from LiuJi-Jim/master

fix detect bug in iOS
This commit is contained in:
Eli Grey
2013-08-27 22:17:02 -07:00
+2 -2
View File
@@ -14,8 +14,8 @@
/*! @source http://purl.eligrey.com/github/Blob.js/blob/master/Blob.js */
if (typeof Blob !== "function" || typeof URL === "undefined")
if (typeof Blob === "function" && typeof webkitURL !== "undefined") self.URL = webkitURL;
if (!(typeof Blob === "function" || typeof Blob === 'object') || typeof URL === "undefined")
if ((typeof Blob === "function" || typeof Blob === 'object') && typeof webkitURL !== "undefined") self.URL = webkitURL;
else var Blob = (function (view) {
"use strict";