From c4926d072914da0c36b0d6e4c452b76c6f9e73ec Mon Sep 17 00:00:00 2001 From: Tom Date: Thu, 21 Jan 2021 13:40:25 +0000 Subject: [PATCH] Small fix to website --- docs/web/index.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/web/index.js b/docs/web/index.js index eeffdde..c89eca2 100644 --- a/docs/web/index.js +++ b/docs/web/index.js @@ -140,6 +140,16 @@ function loadDemo(key) { editor.updateCode(demos[key]["code"]); } +db.default({ + list: [1, 2, 3], + string: "test", + numbers: 123, + objects: { + property: "test property" + } +}); +db.save(); + demoKeys.forEach(key => { let demo = demos[key]; const option = document.createElement("option");