mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 12:55:49 +08:00
variant: write stylesheet to console on download
...just to be save
This commit is contained in:
parent
245923a91c
commit
b895d0386b
@ -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…
x
Reference in New Issue
Block a user