minor refactoring...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-05-02 02:18:11 +03:00
parent c2cbd64fdb
commit 4bf81c5cdb

View File

@ -495,8 +495,8 @@ object.Constructor('BasePage', {
// this will simply be ignored, i.e. passed trough the parser // this will simply be ignored, i.e. passed trough the parser
// without change... // without change...
var parser = var BaseParser =
module.parser = { module.BaseParser = {
// patterns... // patterns...
// //
@ -870,6 +870,11 @@ module.parser = {
.join('') }, .join('') },
} }
var parser =
module.parser = {
__proto__: BaseParser,
}
// XXX PATH_VARS need to handle path variables... // XXX PATH_VARS need to handle path variables...
// XXX macros and filters should be features for simpler plugin handlng (???) // XXX macros and filters should be features for simpler plugin handlng (???)