Skip to content

Commit

Permalink
Small fix to website
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom committed Jan 21, 2021
1 parent fb67301 commit c4926d0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/web/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit c4926d0

Please sign in to comment.