mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-20 16:28:54 +00:00
Tests/LibWeb: Use the include.js helper in "basic.html"
This commit is contained in:
parent
ac280277b7
commit
58c1cb80bb
Notes:
sideshowbarker
2024-07-17 07:38:17 +09:00
Author: https://github.com/awesomekling
Commit: 58c1cb80bb
Pull-request: https://github.com/SerenityOS/serenity/pull/19115
1 changed files with 6 additions and 8 deletions
|
@ -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("friends!")
|
||||||
|
});
|
||||||
println("Well hello")
|
|
||||||
println("friends!")
|
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue