From 0efbdff806ec2ba2139497458ade294a57d18ad8 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 29 Oct 2017 05:57:38 +0000 Subject: Make backup JSON human readable. --- pages/options.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/options.coffee b/pages/options.coffee index 416b3ea7..c3fa82fb 100644 --- a/pages/options.coffee +++ b/pages/options.coffee @@ -335,7 +335,7 @@ DomUtils?.documentReady -> backup[option.field] = option.readValueFromElement() # Create the blob in the background page so it isn't garbage collected when the page closes in FF. bgWin = chrome.extension.getBackgroundPage() - blob = new bgWin.Blob [ JSON.stringify backup ] + blob = new bgWin.Blob [ JSON.stringify backup, null, 2 ] url = bgWin.URL.createObjectURL blob a = $ "backupLink" a.href = url -- cgit v1.2.3