[refactor] better logging

This commit is contained in:
zombieFox 2018-12-26 14:58:53 -07:00
parent 40d5da99c8
commit 5d448ca15a
1 changed files with 2 additions and 2 deletions

View File

@ -16,14 +16,14 @@ var data = (function() {
var save = function() { var save = function() {
set(saveName, JSON.stringify(state.get())); set(saveName, JSON.stringify(state.get()));
console.log(saveName + " saved"); console.log(saveName + " data saved");
}; };
var restore = function() { var restore = function() {
var data = JSON.parse(get(saveName)); var data = JSON.parse(get(saveName));
bookmarks.restore(data.bookmarks); bookmarks.restore(data.bookmarks);
theme.restore(data.accent); theme.restore(data.accent);
console.log(saveName + " restored"); console.log(saveName + " data restored");
}; };
var wipe = function() { var wipe = function() {