summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2020-02-21 13:57:25 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2020-02-21 13:57:25 +0000
commit7daf034fd94a8a07f9cbb5d070a085de69d184fd (patch)
tree22fd77042834975166ea7d75c20decb433ec6ea3 /html
parente995422137ad124718c97326e205ce531d8b0536 (diff)
downloadnetsurf-test-7daf034fd94a8a07f9cbb5d070a085de69d184fd.tar.gz
netsurf-test-7daf034fd94a8a07f9cbb5d070a085de69d184fd.tar.bz2
Async delayed hello world, first draft
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'html')
-rw-r--r--html/async-delayed-hello-world.html9
-rw-r--r--html/hello-world.js3
2 files changed, 12 insertions, 0 deletions
diff --git a/html/async-delayed-hello-world.html b/html/async-delayed-hello-world.html
new file mode 100644
index 0000000..a2cbc20
--- /dev/null
+++ b/html/async-delayed-hello-world.html
@@ -0,0 +1,9 @@
+<html>
+ <head>
+ <title>Hello World</title>
+ <script src="https://test.netsurf-browser.org/cgi-bin/and-then-js.cgi?t=5&val=async-cb-adds-timeout"></script>
+ </head>
+ <body>
+ <h1>Check the console for a hello world log</h1>
+ </body>
+</html>
diff --git a/html/hello-world.js b/html/hello-world.js
new file mode 100644
index 0000000..03a10db
--- /dev/null
+++ b/html/hello-world.js
@@ -0,0 +1,3 @@
+/* Hello World */
+
+console.log("Hello World")