mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-30 18:40:08 +00:00
fixes and tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e7a9610d81
commit
b5264396cc
@ -3,8 +3,8 @@
|
|||||||
*
|
*
|
||||||
* XXX wikiword filter seems to hang on /
|
* XXX wikiword filter seems to hang on /
|
||||||
* XXX do filters affect the whole page or only what comes after???
|
* XXX do filters affect the whole page or only what comes after???
|
||||||
* XXX BUG: need to be able to affect the default render wrpaper...
|
* XXX need to be able to affect the default render wrpaper...
|
||||||
* i.e.: /some/path vs. /some/path/_text vs. /some/path/_raw
|
* i.e.: /some/path (default) vs. /some/path/_view vs. /some/path/_raw
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* XXX ROADMAP:
|
* XXX ROADMAP:
|
||||||
@ -20,8 +20,7 @@
|
|||||||
* - migrate bootstrap
|
* - migrate bootstrap
|
||||||
* - store topology
|
* - store topology
|
||||||
* - WikiWord
|
* - WikiWord
|
||||||
* - markdown -- DONE
|
* - markdown -- DONE??
|
||||||
* - service worker
|
|
||||||
* - pwa
|
* - pwa
|
||||||
* - archive old code
|
* - archive old code
|
||||||
* - update docs
|
* - update docs
|
||||||
|
|||||||
@ -13,7 +13,7 @@ var types = require('ig-types')
|
|||||||
var pwpath = require('../lib/path')
|
var pwpath = require('../lib/path')
|
||||||
var base = require('../store/base')
|
var base = require('../store/base')
|
||||||
|
|
||||||
var pouchdb = require('pouchdb')
|
var PouchDB = require('pouchdb')
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------
|
//---------------------------------------------------------------------
|
||||||
@ -30,7 +30,7 @@ module.PouchDBStore = {
|
|||||||
__data: undefined,
|
__data: undefined,
|
||||||
get data(){
|
get data(){
|
||||||
return this.__data
|
return this.__data
|
||||||
?? (this.__data = new pouchdb.PouchDB(this.__path__)) },
|
?? (this.__data = new PouchDB(this.__path__)) },
|
||||||
set data(value){
|
set data(value){
|
||||||
this.__data = value },
|
this.__data = value },
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user