From be3191547b44efdb1a2d0db2c14a50ef9b12204d Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Fri, 27 Dec 2024 22:52:08 +0100 Subject: [PATCH] feat(site): update demp page to show js expression --- site/src/pages/demo.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/site/src/pages/demo.html b/site/src/pages/demo.html index 3c1a856..396e03e 100644 --- a/site/src/pages/demo.html +++ b/site/src/pages/demo.html @@ -17,9 +17,6 @@ function sum(x, y) { return x + y; } - - const hey = 'hey' - const world = 'world' @@ -29,7 +26,7 @@

McFly Demo

-

{{ hey }}, {{ world }} {{1+1}} {{hey}} {{3-2}} {{hey}} {{new Date().toString()}}

+

Server date time: {{new Date().toLocaleString()}}

This page is in-progress. See the +

Server date time: {{new Date().toLocaleString()}}

{{ count }}
@@ -86,6 +84,7 @@ </script> </my-head> <body> + <p>Server date time: {{ new Date().toLocaleString() }}</p> <a href="/demo/about">{{ count }}</a> <div> <my-hello-world id="my-hello" my-name="{{name}}"></my-hello-world>