aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanisław Zagórowski <hasohasacz@gmail.com>2024-01-11 15:40:22 +0100
committerStanisław Zagórowski <hasohasacz@gmail.com>2024-01-11 15:40:22 +0100
commit377a5a136d53bd91736a1dfbd418235d3b6b7462 (patch)
treee67daa8f51177e69fcc06ff3bdcb661d501a0c7a
parent8d9e00edacbc061ec5efba100e2af71be6824af8 (diff)
stuff!
-rw-r--r--example/.gitignore1
-rw-r--r--example/index.luax3
2 files changed, 4 insertions, 0 deletions
diff --git a/example/.gitignore b/example/.gitignore
new file mode 100644
index 0000000..d907c43
--- /dev/null
+++ b/example/.gitignore
@@ -0,0 +1 @@
+*.lua
diff --git a/example/index.luax b/example/index.luax
index 1c4b62c..3dff259 100644
--- a/example/index.luax
+++ b/example/index.luax
@@ -6,6 +6,9 @@ return function()
<body>
<h1>Reluax Test</h1>
<p>Random number for you: {$ tostring(math.floor(math.random() * 100)) $}</p>
+ <p style={ "font-size: " .. tostring(math.floor(math.random() * 100)) .. 'px' }>
+ What font size is this?
+ </p>
</body>
</html>
end