-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
33 lines (30 loc) · 1.01 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ForkbombEu Components</title>
<link rel="stylesheet" href="./src/index.css" />
<script type="module" src="/src/zencode/zencode-element.ts"></script>
</head>
<body>
<h1>zencode-element</h1>
<zencode-element id="ciao" style="width: 400px" storage="local">
<pre>
Rule check version 2.0.0
Scenario simple: Generate a random object
Given nothing
When I create the random object of '128' bits
When I rename the 'random_object' to 'my128BitsRandom'
Then print the 'my128BitsRandom'
</pre>
</zencode-element>
<script>
window.addEventListener("DOMContentLoaded", () => {
const zencode = document.getElementById("ciao");
zencode.runContract();
});
</script>
</body>
</html>