Rewrite the launcher in MoonBit (old code moves to legacy/) (#1)
Launcher / test (push) Successful in 1m20s
Launcher / apk (push) Successful in 37s

This commit was merged in pull request #1.
This commit is contained in:
nandi committed 2026-11-23 01:57:10 +00:00
1 parent 7d2bf5996f
commit 2fa7bd745b
150 files changed
+8319 -462

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
///|
test "to_html" {
let n : Node[Int32] = el(
"div",
classes=["a", cls_if("b", false), cls_if("c", true)],
handlers={ ..Handlers::none(), tap: Some(1), },
children=[el("span", children=[text("x < y")]), text("tail")],
)
inspect(
to_html(n),
content=(
#|<div class="a c" on="tap">
#| <span>x &lt; y</span>
#| tail
#|</div>
),
)
}