1 /*eslint-disable*/
2 /*Blob.js3 * A Blob implementation.4 * 2014-05-275 *6 * By Eli Grey, http://eligrey.com7 * By Devin Samarin, https://github.com/eboyjr8 * License: X11/MIT9 * See LICENSE.md10 */
11
12 /*global self, unescape*/
13 /*jslint bitwise: true, regexp: true, confusion: true, es5: true, vars: true, white: true,14 plusplus: true*/
15
16 /*! @source http://purl.eligrey.com/github/Blob.js/blob/master/Blob.js*/
17
18 (function(view) {19 "use strict";20
21 view.URL = view.URL ||view.webkitURL;22
23 if (view.Blob &&view.URL) {24 try{25 newBlob;26 return;27 } catch(e) {}28 }29
30 //Internally we use a BlobBuilder implementation to base Blob off of
31 //in order to support older browsers that only have BlobBuilder
32 var BlobBuilder = view.BlobBuilder || view.WebKitBlobBuilder || view.MozBlobBuilder ||