- location: @source(./location) - path: @source(./path) - args:`}, - testAction: function(){ - console.log('testAction:', this.location, - this.args, - (this.renderer ?? {}).args, - (this.root ?? {}).args) - //console.log(' :', this, this.renderer) - return this.location }, - 'testAction!': Object.assign( - function(){ - console.log('testAction!:', this.location, - this.args, - (this.renderer ?? {}).args, - (this.root ?? {}).args) - //console.log(' :', this, this.renderer) - return this.location }, - {energetic: true}), - _testPage: { - text: object.doc` - @source(./path) - `}, - _testAction: function(){ - return this.path }, - - + /* XXX need a stable way to redirect after the action... + // ...not sure if these are needed vs. pwiki.delete(..) and friends... // actions... // // XXX should ** be the default here... @@ -2369,6 +2370,7 @@ module.System = { // redirected page... return '' }, // XXX copy/... + //*/ // XXX System/sort // XXX System/reverse diff --git a/pwiki2.js b/pwiki2.js index 0bb66b4..eaabc66 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -23,6 +23,7 @@ * await pwiki.parse('-