cleanup and notes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-09-17 19:30:11 +03:00
parent 271a0fe1a4
commit 6f73dda91e
3 changed files with 8 additions and 10 deletions

View File

@ -7,8 +7,6 @@
(function(require){ var module={} // make module AMD/node compatible... (function(require){ var module={} // make module AMD/node compatible...
/*********************************************************************/ /*********************************************************************/
// XXX
//var object = require('lib/object')
var object = require('ig-object') var object = require('ig-object')
var types = require('ig-types') var types = require('ig-types')
@ -46,7 +44,6 @@ function(name){
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// XXX FUNC need to handle functions in store...
var BasePage = var BasePage =
module.BasePage = module.BasePage =
object.Constructor('BasePage', { object.Constructor('BasePage', {
@ -619,8 +616,6 @@ types.event.EventMixin(BasePage.prototype)
//--------------------------------------------------------------------- //---------------------------------------------------------------------
// XXX should these be something more generic like Object.assign(..) ???
// XXX do we need anything else like .doc, attrs??? // XXX do we need anything else like .doc, attrs???
var Macro = var Macro =
module.Macro = module.Macro =
@ -637,9 +632,6 @@ function(spec, func){
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// XXX filters (and macros?) should be features for simpler plugin handlng (???)
// XXX STUB filters...
// XXX rename to pWikiPage???
var Page = var Page =
module.Page = module.Page =
object.Constructor('Page', BasePage, { object.Constructor('Page', BasePage, {
@ -1518,6 +1510,7 @@ object.Constructor('Page', BasePage, {
//--------------------------------------------------------------------- //---------------------------------------------------------------------
// Cached .text page...
var getCachedProp = var getCachedProp =
function(obj, name){ function(obj, name){

View File

@ -31,8 +31,6 @@ module = {
'NotFoundError', 'NotFoundError',
], ],
//SYSTEM_PATH: '/System',
SYSTEM_PATH: '/.system',
// Default alternate search locations... // Default alternate search locations...
// //
// NOTE: if a path here is relative it is also searched relative to // NOTE: if a path here is relative it is also searched relative to
@ -41,6 +39,12 @@ module = {
//'./Theme/CLI', //'./Theme/CLI',
'./Templates', './Templates',
], ],
// System path...
//
// This acts the same as elements in .SEARCH_PATHS but should contain
// all the default and fallback templates.
SYSTEM_PATH: '/.system',
/*/ XXX NORMCACHE... /*/ XXX NORMCACHE...
__normalized_cache_threshold: 100, __normalized_cache_threshold: 100,

View File

@ -4,6 +4,7 @@
* XXX ASAP start writing docs in pwiki * XXX ASAP start writing docs in pwiki
* - WYSIWYG markdown editor/viewer (ASAP) * - WYSIWYG markdown editor/viewer (ASAP)
* - fs store/export in browser or a simple way to export/import... * - fs store/export in browser or a simple way to export/import...
* XXX BUG: /delete is broken...
* XXX BUG: * XXX BUG:
* /System/info * /System/info
* and: * and: