Lines Matching refs:blob
78 , auto_bom = function(blob) { argument
80 …if (/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(blob.type)) {
81 return new Blob(["\ufeff", blob], {type: blob.type});
83 return blob;
85 , FileSaver = function(blob, name) { argument
86 blob = auto_bom(blob);
90 , type = blob.type
101 object_url = get_URL().createObjectURL(blob);
131 object_url = get_URL().createObjectURL(blob);
146 slice = blob.slice || blob.webkitSlice;
147 blob = slice.call(blob, 0, blob.size, force_saveable_type);
163 fs_min_size += blob.size;
184 writer.write(blob);
208 , saveAs = function(blob, name) { argument
209 return new FileSaver(blob, name);
214 return function(blob, name) { argument
215 return navigator.msSaveOrOpenBlob(auto_bom(blob), name);