mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:57:45 +00:00
Tests/LibWeb: Use the include.js helper in "basic.html"
This commit is contained in:
parent
ac280277b7
commit
58c1cb80bb
1 changed files with 6 additions and 8 deletions
|
@ -1,9 +1,7 @@
|
|||
<div id="out"></div><script>
|
||||
function println(s) {
|
||||
const out = document.getElementById("out");
|
||||
out.appendChild(document.createTextNode(s + "\n"))
|
||||
}
|
||||
|
||||
println("Well hello")
|
||||
println("friends!")
|
||||
<script src="include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
println("Well hello")
|
||||
println("friends!")
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue