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");