fixes and tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-08-04 22:48:48 +03:00
parent e7a9610d81
commit b5264396cc
2 changed files with 5 additions and 6 deletions

View File

@ -3,8 +3,8 @@
*
* XXX wikiword filter seems to hang on /
* XXX do filters affect the whole page or only what comes after???
* XXX BUG: need to be able to affect the default render wrpaper...
* i.e.: /some/path vs. /some/path/_text vs. /some/path/_raw
* XXX need to be able to affect the default render wrpaper...
* i.e.: /some/path (default) vs. /some/path/_view vs. /some/path/_raw
*
*
* XXX ROADMAP:
@ -20,8 +20,7 @@
* - migrate bootstrap
* - store topology
* - WikiWord
* - markdown -- DONE
* - service worker
* - markdown -- DONE??
* - pwa
* - archive old code
* - update docs

View File

@ -13,7 +13,7 @@ var types = require('ig-types')
var pwpath = require('../lib/path')
var base = require('../store/base')
var pouchdb = require('pouchdb')
var PouchDB = require('pouchdb')
//---------------------------------------------------------------------
@ -30,7 +30,7 @@ module.PouchDBStore = {
__data: undefined,
get data(){
return this.__data
?? (this.__data = new pouchdb.PouchDB(this.__path__)) },
?? (this.__data = new PouchDB(this.__path__)) },
set data(value){
this.__data = value },