mirror of
https://github.com/flynx/pWiki.git
synced 2026-08-24 08:16:43 +00:00
testing...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
ee25b79fb5
commit
a9fdd759eb
@ -837,11 +837,11 @@ module.BaseParser = {
|
|||||||
.push(elem.resolving instanceof Promise ?
|
.push(elem.resolving instanceof Promise ?
|
||||||
elem.resolving
|
elem.resolving
|
||||||
: elem)
|
: elem)
|
||||||
//*/
|
|
||||||
// NOTE: we do not need to expand .body attributes as these
|
// NOTE: we do not need to expand .body attributes as these
|
||||||
// are the responsibility of the respective macros...
|
// are the responsibility of the respective macros...
|
||||||
elems.push(elem) }
|
elems.push(elem) }
|
||||||
|
|
||||||
|
// global .wait...
|
||||||
if(unresolved.length > 0){
|
if(unresolved.length > 0){
|
||||||
var resolving =
|
var resolving =
|
||||||
state.wait =
|
state.wait =
|
||||||
@ -1032,7 +1032,8 @@ module.parser = {
|
|||||||
return Promise.awaitOrRun(
|
return Promise.awaitOrRun(
|
||||||
state.waitNested,
|
state.waitNested,
|
||||||
function(){
|
function(){
|
||||||
console.log(' --', ...Object.keys(args), body ?? '') }) },
|
console.log(' --', ...Object.keys(args), body ?? '')
|
||||||
|
return Object.keys(args) }) },
|
||||||
//*/
|
//*/
|
||||||
|
|
||||||
// Filter...
|
// Filter...
|
||||||
|
|||||||
@ -449,6 +449,13 @@ test.Setups({
|
|||||||
'<filter upper/>local <filter -upper>@include(/async/page)</filter>',
|
'<filter upper/>local <filter -upper>@include(/async/page)</filter>',
|
||||||
'LOCAL Page' ]} },
|
'LOCAL Page' ]} },
|
||||||
|
|
||||||
|
|
||||||
|
sequencing: function(assert){
|
||||||
|
return {
|
||||||
|
page: P,
|
||||||
|
code: [
|
||||||
|
'A @include(/async/page) B @include(/page) C',
|
||||||
|
'A Page B Page C' ]} },
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user