From 6f49bc24550ab1babc75826bf9a0af8e4025a0ad Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Sun, 18 Dec 2022 04:04:57 -0500 Subject: [PATCH] First module fully documented is lib/ormish.js --- admin/pages/DocsBrowser.svelte | 15 +- lib/ormish.js | 252 ++++++++++++++++++++++++++++++++- 2 files changed, 261 insertions(+), 6 deletions(-) diff --git a/admin/pages/DocsBrowser.svelte b/admin/pages/DocsBrowser.svelte index e28ba2e..25717cb 100644 --- a/admin/pages/DocsBrowser.svelte +++ b/admin/pages/DocsBrowser.svelte @@ -29,6 +29,14 @@ index = status === 200 ? data : {}; } + const type_to_syntax = { + callexpression: "()", + objectexpression: "{}", + "function": "()", + "class": "{}", + "method": "()" + } + onMount(async () => { await load_index(); }); @@ -38,6 +46,7 @@ $: if(params.wild && params.wild !== url) { load_docs(params.wild); } +