-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathLua.html
More file actions
60 lines (59 loc) · 1.37 KB
/
Lua.html
File metadata and controls
60 lines (59 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" type="image/png" href="favicon.png"/>
<style>
body {
font-family: Arial, Helvetica, sans-serif;
background: linear-gradient(#87CEEB, #FFE0B2);
background-repeat: no-repeat;
background-color: #FFE0B2;
background-size: 100% 1000px;
margin: auto;
max-width: 700px;
padding: 10px 10px;
border-left: 1px solid #C0C0C0;
border-right: 1px solid #C0C0C0;
font-size: 16px;
}
div.title {
text-align: center;
background-color: #C0C0FF
}
#code {
font-family: monospace;
background-color: #F0F0F0;
width: 100%;
height: 57px;
resize: none;
}
</style>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Masterjun | Lua</title>
</head>
<body onload="handleChange();" style="overflow-y: scroll;">
<a href=".">< Back</a><br>
<div class="title">
<h2>Lua</h2>
</div>
<hr>
<div class="code">
<textarea id="code" oninput="handleChange();">
print(_VERSION)
for i=1,10 do
print(i)
end
</textarea>
</div>
<hr>
<div>
<pre id="out">
Initializing...
</pre>
</div>
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/he/1.2.0/he.min.js" integrity="sha512-PEsccDx9jqX6Dh4wZDCnWMaIO3gAaU0j46W//sSqQhUQxky6/eHZyeB3NrXD2xsyugAKd4KPiDANkcuoEa2JuA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="Lua.js"></script>
<script src="Luawasm.js"></script>
</html>