Merge pull request #310 from sebastianha/master

Prettified JSON backup files
10.3.x-maintenance
Michael Keller 2016-10-11 00:43:41 +13:00 committed by GitHub
commit 732e0ecee1
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ function configuration_backup(callback) {
chosenFileEntry = fileEntryWritable;
// crunch the config object
var serialized_config_object = JSON.stringify(configuration);
var serialized_config_object = JSON.stringify(configuration, null, '\t');
var blob = new Blob([serialized_config_object], {type: 'text/plain'}); // first parameter for Blob needs to be an array
chosenFileEntry.createWriter(function (writer) {