From 080d0853eba5887dd5015024bd91e0d46d57d522 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sat, 7 Nov 2020 11:00:07 +0000 Subject: [PATCH] bit more logging --- script.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index 184cd8a..66d12b8 100644 --- a/script.js +++ b/script.js @@ -93,7 +93,7 @@ async function run() { } function new_game() { - load_default_game() + console.debug(load_default_game()); textareaGameDataInput.value = output(); checkGameData(); // we don't need to look at the default game data, so skip ahead to the image page @@ -121,7 +121,8 @@ async function run() { }); function setPaletteDropdown() { - let palettes = JSON.parse(get_palettes()); + const palettes = JSON.parse(get_palettes()); + console.debug(palettes); selectPalette.innerHTML = "";