mirror of
https://github.com/flynx/pWiki.git
synced 2025-11-03 20:40:10 +00:00
tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a1bc80caf5
commit
32c5909630
@ -207,14 +207,17 @@ function(name){
|
|||||||
var page =
|
var page =
|
||||||
module.page = {
|
module.page = {
|
||||||
store: undefined,
|
store: undefined,
|
||||||
|
|
||||||
path: undefined,
|
path: undefined,
|
||||||
|
referrer: undefined,
|
||||||
|
|
||||||
text: undefined,
|
text: undefined,
|
||||||
|
|
||||||
|
// relative proxies to store...
|
||||||
exists: relProxy('exists'),
|
exists: relProxy('exists'),
|
||||||
match: relProxy('match'),
|
match: relProxy('match'),
|
||||||
// XXX should this return page objects???
|
// XXX should this return page objects???
|
||||||
get: relProxy('get'),
|
get: relProxy('get'),
|
||||||
|
|
||||||
update: function(path='.', data, mode){
|
update: function(path='.', data, mode){
|
||||||
if(arguments.length == 1){
|
if(arguments.length == 1){
|
||||||
data = path
|
data = path
|
||||||
@ -225,8 +228,6 @@ module.page = {
|
|||||||
// XXX
|
// XXX
|
||||||
clear: function(){
|
clear: function(){
|
||||||
},
|
},
|
||||||
expand: function(){
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user