mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 01:50:07 +00:00
cleanup and notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
2cba0b91f0
commit
1efe56bfe3
@ -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 },
|
||||
|
||||
@ -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...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user