Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-04-23 10:56:24 +03:00
parent 1fd467f375
commit 76f322a482

View File

@ -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(