added karaxdsl.flatHtml macro
This commit is contained in:
parent
2d1e656061
commit
21c911ffd3
1 changed files with 5 additions and 0 deletions
|
|
@ -117,3 +117,8 @@ macro buildHtml*(children: untyped): VNode =
|
||||||
result = tcall2(body(children), nil)
|
result = tcall2(body(children), nil)
|
||||||
when defined(debugKaraxDsl):
|
when defined(debugKaraxDsl):
|
||||||
echo repr result
|
echo repr result
|
||||||
|
|
||||||
|
macro flatHtml*(tag: untyped): VNode =
|
||||||
|
result = tcall2(tag, nil)
|
||||||
|
when defined(debugKaraxDsl):
|
||||||
|
echo repr result
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue