cleanup and notes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-11-05 18:05:42 +03:00
parent 2cba0b91f0
commit 1efe56bfe3
2 changed files with 10 additions and 4 deletions

View File

@ -312,13 +312,13 @@ module.BaseStore = {
var {text, tags} = update
text = [
path,
((text
(text
&& typeof(text) != 'function') ?
text
: ''),
(tags ?
: '',
tags ?
'#'+ tags.join(' #')
: ''),
: '',
].join('\n\n')
;(await data).add(path, update.text)
return data },

View File

@ -25,6 +25,12 @@
* -
*
*
* XXX FEATURE: to avoid reinventing the wheel, serialize stuff as pages...
* something like:
* /.index/<name>
* would be logical for indexes or:
* /.data/<name>
* for general stuff...
* XXX macro: macro:count / macro:index vars can be overridden by count/index
* attributes....
* ...this needs testing...