mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-30 18:40:08 +00:00
deep defaults...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
f901a8b11b
commit
028feec191
@ -202,7 +202,7 @@ module.path = {
|
|||||||
// XXX BUG: mixing up '/' and '' paths...
|
// XXX BUG: mixing up '/' and '' paths...
|
||||||
// XXX LEADING_SLASH should this be strict about leading '/' in paths???
|
// XXX LEADING_SLASH should this be strict about leading '/' in paths???
|
||||||
// ...this may lead to duplicate paths created -- '/a/b' and 'a/b'
|
// ...this may lead to duplicate paths created -- '/a/b' and 'a/b'
|
||||||
// XXX path macros???
|
// XXX need to ensure that that at least NotFound page is resoled...
|
||||||
// XXX should we support page symlinking???
|
// XXX should we support page symlinking???
|
||||||
var BaseStore =
|
var BaseStore =
|
||||||
module.BaseStore = {
|
module.BaseStore = {
|
||||||
@ -1351,6 +1351,8 @@ object.Constructor('Page', BasePage, {
|
|||||||
// list of macros that will get raw text of their content...
|
// list of macros that will get raw text of their content...
|
||||||
QUOTING_MACROS: ['quote'],
|
QUOTING_MACROS: ['quote'],
|
||||||
|
|
||||||
|
//PAGE_NOT_FOUND: 'PAGE NOT FOUND',
|
||||||
|
|
||||||
//
|
//
|
||||||
// <filter>(<source>)
|
// <filter>(<source>)
|
||||||
// -> <result>
|
// -> <result>
|
||||||
@ -1764,6 +1766,8 @@ object.Constructor('Page', BasePage, {
|
|||||||
d.call(that)
|
d.call(that)
|
||||||
: d.text })
|
: d.text })
|
||||||
.join('\n')
|
.join('\n')
|
||||||
|
: data == null ?
|
||||||
|
this.PAGE_NOT_FOUND
|
||||||
: data.text },
|
: data.text },
|
||||||
set raw(value){
|
set raw(value){
|
||||||
this.store.update(this.location, {text: value}) },
|
this.store.update(this.location, {text: value}) },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user