code cosmetics (copypasting from MDN was a bad idea)
This commit is contained in:
parent
721dfc4787
commit
382e0428c6
|
@ -306,7 +306,7 @@ function importFromString(jsonString) {
|
||||||
$('#file-all-styles').onclick = () => {
|
$('#file-all-styles').onclick = () => {
|
||||||
getStylesSafe().then(styles => {
|
getStylesSafe().then(styles => {
|
||||||
const text = JSON.stringify(styles, null, '\t');
|
const text = JSON.stringify(styles, null, '\t');
|
||||||
const blob = new Blob([text], {type : 'application/json'});
|
const blob = new Blob([text], {type: 'application/json'});
|
||||||
const objectURL = URL.createObjectURL(blob);
|
const objectURL = URL.createObjectURL(blob);
|
||||||
let link = $element({
|
let link = $element({
|
||||||
tag:'a',
|
tag:'a',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user