diff --git a/pwiki/page.js b/pwiki/page.js index dc8e6e3..e06b6e1 100755 --- a/pwiki/page.js +++ b/pwiki/page.js @@ -517,6 +517,8 @@ object.Constructor('Page', BasePage, { RECURSION_ERROR: 'RecursionError', + NOT_FOUND_TEMPLATE_ERROR: 'NotFoundTemplateError', + // The page that started the current render... // // This is set by .text and maintained by .clone(..). @@ -828,6 +830,9 @@ object.Constructor('Page', BasePage, { // Force hide a slot... // + +

+ Content: A B C: + A + B + C +

+ Nested content: A B C: + + A + + B + + C + + `, }) .update({ location: '/test/nesting', diff --git a/pwiki2.js b/pwiki2.js index 5638bb2..9863e2d 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -1,9 +1,9 @@ /********************************************************************** * * -* XXX might be a good idea for slots to support getting previous slot -* content, e.g.: -* new text +* XXX slot does not work in nested slots... +* XXX ranges in pattern paths... +* ...url syntax??? * XXX BUG?: markdown: when parsing chunks each chunk gets an open/closed *

inserted at start/end -- this breaks stuff returned by macros... * ...there are two ways to dance around this: @@ -43,7 +43,7 @@ * - zip (json/tree) -- * - page actions * - delete -- DONE -* - copy/move -- +* - copy/move -- DONE * - migrate bootstrap -- * - store topology -- * - sync and sync conf --