dist/joint.nowrap.js
function(dataUri, fileName) {

            var blob = joint.util.dataUriToBlob(dataUri);
            joint.util.downloadBlob(blob, fileName);
        }
function(dataUri, fileName) {

            var blob = joint.util.dataUriToBlob(dataUri);
            joint.util.downloadBlob(blob, fileName);
        }
function ( dataUri , fileName ) { var blob = joint . util . dataUriToBlob ( dataUri ) ; joint . util . downloadBlob ( blob , fileName ) ; }
Download `dataUri` as file with `fileName`. Does not work in IE9.
Download dataUri as file with fileName . Does not work in IE9 .