assets/digest/crypto.js
/** Downloads a file to the browser. */
Downloads a file to the browser.
Downloads a file to the browser .
function download(filename, text) {
    var pom = document.createElement('a');
    pom.setAttribute('href', encodeDownload(text));
    pom.setAttribute('download', filename);
    pom.click();
  }
function download ( filename , text ) { var pom = document . createElement ( 'a' ) ; pom . setAttribute ( 'href' , encodeDownload ( text ) ) ; pom . setAttribute ( 'download' , filename ) ; pom . click ( ) ; }
Downloads a file to the browser.
Downloads a file to the browser .