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() },