Commit 37593ec6 authored by Boris Kocherov's avatar Boris Kocherov

Merge branch 'master' into bk_for_officejs

parents 357d923c a7ee771f
......@@ -150,6 +150,9 @@
// https://gist.github.com/davoclavo/4424731
function dataURItoBlob(dataURI) {
if (dataURI === 'data:') {
return new Blob();
}
// convert base64 to raw binary data held in a string
var byteString = atob(dataURI.split(',')[1]),
// separate out the mime component
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment