From 76f322a4828ebdc34c1984e7445b9d1497d81d73 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 23 Apr 2022 10:56:24 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- pwiki2.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pwiki2.js b/pwiki2.js index f838cef..85a9988 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -382,6 +382,7 @@ object.Constructor('BasePage', { match: relProxy('match'), delete: relProxy('delete'), + // XXX how should this handle functions as values??? get: function(path, referrer){ return this.clone({ location: path, @@ -753,6 +754,8 @@ var WIKIWORD_PATTERN = // XXX experiments and testing... +// NOTE: in general the root wiki api is simply a page instance. +// XXX not yet sure how to organize the actual alient -- UI, hooks, .. etc module.pwiki = Page('/', '/', Object.assign(