www/indexeddbshim.min.js
function readBlobAsDataURL(blob, path) {
                    var reader = new FileReader();
                    reader.onloadend = function(loadedEvent) {
                        var dataURL = loadedEvent.target.result;
                        var blobtype = 'Blob';
                        if (blob instanceof File) {
                            //blobtype = 'File';
                        }
                        updateEncodedBlob(dataURL, path, blobtype);
                    };
                    reader.readAsDataURL(blob);
                }
function readBlobAsDataURL(blob, path) {
                    var reader = new FileReader();
                    reader.onloadend = function(loadedEvent) {
                        var dataURL = loadedEvent.target.result;
                        var blobtype = 'Blob';
                        if (blob instanceof File) {
                            //blobtype = 'File';
                        }
                        updateEncodedBlob(dataURL, path, blobtype);
                    };
                    reader.readAsDataURL(blob);
                }
function readBlobAsDataURL ( blob , path ) { var reader = new FileReader ( ) ; reader . onloadend = function ( loadedEvent ) { var dataURL = loadedEvent . target . result ; var blobtype = 'Blob' ; if ( blob instanceof File ) { //blobtype = 'File';
 } updateEncodedBlob ( dataURL , path , blobtype ) ; } ; reader . readAsDataURL ( blob ) ; }
Convert a blob to a data URL.
@param {Blob} blob to convert.
@param {String} path of blob in object being encoded.
Convert a blob to a data URL .