From 85cf83295028236ba6edb7f17959734390f5a81b Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 29 Sep 2022 20:59:20 +0300 Subject: [PATCH] tweaks... Signed-off-by: Alex A. Naanou --- pwiki/page.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pwiki/page.js b/pwiki/page.js index 754f169..6d090ae 100755 --- a/pwiki/page.js +++ b/pwiki/page.js @@ -112,8 +112,8 @@ object.Constructor('BasePage', { return this.dir }, ARGS: function(){ return pwpath.obj2args(this.args) }, - //TITLE: function(){ - // return this.title }, + TITLE: function(){ + return this.title }, /*/ XXX this needs: // - macro context... @@ -233,7 +233,6 @@ object.Constructor('BasePage', { return pwpath.decodeElem(this.name) }, set title(value){ this.name = pwpath.encodeElem(value) }, - //*/ get isPattern(){ return this.path.includes('*') }, @@ -314,11 +313,6 @@ object.Constructor('BasePage', { // single page... // XXX ENERGETIC... var res = await this.store.get(this.path, !!this.strict, !!await this.energetic) - /*/ XXX TITLE / EXPERIMENTAL... - // load the title if set... - res.title - && (this.__title = res.title) - //*/ return typeof(res) == 'function' ? res.bind(this) : res }).call(this) },