mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-03-20 16:15:09 +00:00
variant: write stylesheet to console on download
...just to be save
This commit is contained in:
parent
245923a91c
commit
b895d0386b
1 changed files with 1 additions and 0 deletions
|
@ -195,6 +195,7 @@ var variants = {
|
|||
},
|
||||
|
||||
download: function(data, mimetype, filename){
|
||||
console.log( data );
|
||||
var blob = new Blob([data], { type: mimetype });
|
||||
var url = window.URL.createObjectURL(blob);
|
||||
var a = document.createElement('a');
|
||||
|
|
Loading…
Add table
Reference in a new issue