aboutsummaryrefslogtreecommitdiff
path: root/example/index.luax
blob: 3dff2595fbf8a467d356cae4bf5892418a15c128 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
return function()
    return <html>
        <head>
            <title>Reluax</title>
        </head>
        <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