Skip to content

Commit

Permalink
exported json minified
Browse files Browse the repository at this point in the history
  • Loading branch information
smariel committed Jul 12, 2023
1 parent 639ab8e commit e56054e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/class.SequenceEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ class SequenceEditor {
});

// download the Sequence to a JSON file
let file_content = JSON.stringify(exportedSequence, null, 4);
let file_content = JSON.stringify(exportedSequence, null, 4).replace(/(\n|\r|\s)+/g,'')+'\n';
let file_name = `${this.selectedSequence.name}.json`;
let blob = new Blob([file_content]);
let dataURL = URL.createObjectURL(blob);
Expand Down

0 comments on commit e56054e

Please sign in to comment.