mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-31 19:10:08 +00:00
cleanup and notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
271a0fe1a4
commit
6f73dda91e
@ -7,8 +7,6 @@
|
||||
(function(require){ var module={} // make module AMD/node compatible...
|
||||
/*********************************************************************/
|
||||
|
||||
// XXX
|
||||
//var object = require('lib/object')
|
||||
var object = require('ig-object')
|
||||
var types = require('ig-types')
|
||||
|
||||
@ -46,7 +44,6 @@ function(name){
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
// XXX FUNC need to handle functions in store...
|
||||
var BasePage =
|
||||
module.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???
|
||||
var 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 =
|
||||
module.Page =
|
||||
object.Constructor('Page', BasePage, {
|
||||
@ -1518,6 +1510,7 @@ object.Constructor('Page', BasePage, {
|
||||
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
// Cached .text page...
|
||||
|
||||
var getCachedProp =
|
||||
function(obj, name){
|
||||
|
||||
@ -31,8 +31,6 @@ module = {
|
||||
'NotFoundError',
|
||||
],
|
||||
|
||||
//SYSTEM_PATH: '/System',
|
||||
SYSTEM_PATH: '/.system',
|
||||
// Default alternate search locations...
|
||||
//
|
||||
// NOTE: if a path here is relative it is also searched relative to
|
||||
@ -42,6 +40,12 @@ module = {
|
||||
'./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...
|
||||
__normalized_cache_threshold: 100,
|
||||
__normalized_cache_size: 4096,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user