From 0c1fdf4ca686ce922567b88d77ae17514459b410 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 14 Sep 2022 03:33:05 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- pwiki/page.js | 19 +++++++++---------- pwiki2.js | 6 ++++++ 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/pwiki/page.js b/pwiki/page.js index 068cb6f..2ea8132 100755 --- a/pwiki/page.js +++ b/pwiki/page.js @@ -1911,20 +1911,19 @@ module.System = { // page actions... // - /* XXX broken... + // XXX broken... // XXX this does not work as energetic... - // XXX for some reason this is called twice... time: async function(){ - var t = Date.now() - var text = await this.get('../_text').text - var time = Date.now() - t + var t = Date.now() + var text = await this.get('../_text').text + var time = Date.now() - t - console.log('RENDER TIME:', time) + console.log('RENDER TIME:', time) - return object.doc` - Time to render: ${time}ms
- - ${text}`}, + return object.doc` + Time to render: ${time}ms
+ + ${text}`}, //*/ // XXX EXPERIMENTAL -- page types... diff --git a/pwiki2.js b/pwiki2.js index 6f70e59..6c45fa5 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -1,6 +1,12 @@ /********************************************************************** * * +* XXX BUG: +* /System/info +* and: +* /System/info/_view +* are not the same... +* ...bug likely in .text * XXX might also be a good idea to investigate a .tree directory index * as a supplement to .paths() * XXX BUG: changing the URL does not start the spinner...