diff --git a/pwiki2.js b/pwiki2.js index cbc2541..ad656b7 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -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 diff --git a/store/pouchdb.js b/store/pouchdb.js index 66bc419..dd3130c 100755 --- a/store/pouchdb.js +++ b/store/pouchdb.js @@ -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 },