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
|
var {text, tags} = update
|
||||||
text = [
|
text = [
|
||||||
path,
|
path,
|
||||||
((text
|
(text
|
||||||
&& typeof(text) != 'function') ?
|
&& typeof(text) != 'function') ?
|
||||||
text
|
text
|
||||||
: ''),
|
: '',
|
||||||
(tags ?
|
tags ?
|
||||||
'#'+ tags.join(' #')
|
'#'+ tags.join(' #')
|
||||||
: ''),
|
: '',
|
||||||
].join('\n\n')
|
].join('\n\n')
|
||||||
;(await data).add(path, update.text)
|
;(await data).add(path, update.text)
|
||||||
return data },
|
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
|
* XXX macro: macro:count / macro:index vars can be overridden by count/index
|
||||||
* attributes....
|
* attributes....
|
||||||
* ...this needs testing...
|
* ...this needs testing...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user