1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:27:45 +00:00

Tests/LibWeb: Use the include.js helper in "basic.html"

This commit is contained in:
Andreas Kling 2023-05-28 20:51:21 +02:00
parent ac280277b7
commit 58c1cb80bb

View file

@ -1,9 +1,7 @@
<div id="out"></div><script> <script src="include.js"></script>
function println(s) { <script>
const out = document.getElementById("out"); test(() => {
out.appendChild(document.createTextNode(s + "\n"))
}
println("Well hello") println("Well hello")
println("friends!") println("friends!")
});
</script> </script>