From 2cf2ef615a3c35b8f0524dfe63aff40fc9430f11 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 17 Jul 2022 15:49:05 +0300 Subject: [PATCH] minor tweaks and notes... Signed-off-by: Alex A. Naanou --- pwiki2.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pwiki2.js b/pwiki2.js index 8a7125c..3eee9d6 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -18,6 +18,7 @@ * * * TODO: +* - async parser does not work... * - .load(..) / .json(..) -- for most stores... * might be a good idea to keep a unified format... * - .then() -- resolve when all pending write operations done ??? @@ -965,6 +966,10 @@ object.Constructor('BasePage', { set path(value){ this.location = value }, + // XXX do we need this... + get resolvedPath(){ + return this.match() }, + // XXX should these be writable??? get name(){ return module.path.split(this.path).pop() },