g2.4
This commit is contained in:
1 parent
e49ce13dc7
commit
322c62ec80
7 files changed
+387
-23
No files matched your search
+6
-3
@@ -34,6 +34,7 @@ test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>test<br>
|
||||
|
||||
<script src="../auth.js"></script>
|
||||
<script src="../lib/basic.js"></script>
|
||||
<script src="../help/data_xample.js"></script>
|
||||
<script>
|
||||
|
||||
showOverlay("overlay1");
|
||||
@@ -42,16 +43,18 @@ showOverlay("overlay1");
|
||||
|
||||
async function main() {
|
||||
const couchDB = new CouchDB();
|
||||
await couchDB.set("login", {
|
||||
"username": "bla",
|
||||
"password": "bla"
|
||||
await couchDB.set("xample", {
|
||||
"my_data": 1,
|
||||
"more_data": "bla"
|
||||
});
|
||||
|
||||
const data = await couchDB.get("login");
|
||||
console.log(JSON.stringify(data));
|
||||
//Gibt { "username": "bla", "password": "bla" } wieder
|
||||
}
|
||||
|
||||
main();
|
||||
createTemp();
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
Reference in new issue
Block a user